summaryrefslogtreecommitdiff
path: root/tests/dd
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-11-02 20:36:36 +0000
committerJim Meyering <jim@meyering.net>2005-11-02 20:36:36 +0000
commita49c7ccfe16be3716de005ce9780e29ed31bb4ea (patch)
tree9a41a4ebde8e035a9d3bc22d76424434f344e31b /tests/dd
parent83743fc715e142941669527cb8bf7ea7d576d6ef (diff)
downloadcoreutils-a49c7ccfe16be3716de005ce9780e29ed31bb4ea.tar.xz
(sk-seek4): New test, to exercise the bug
fixed on 2005-10-31. This test uses the new, IN_PIPE specifier.
Diffstat (limited to 'tests/dd')
-rwxr-xr-xtests/dd/skip-seek7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/dd/skip-seek b/tests/dd/skip-seek
index e0a509d41..897c4b794 100755
--- a/tests/dd/skip-seek
+++ b/tests/dd/skip-seek
@@ -61,6 +61,13 @@ my @Tests =
{OUT=> "01234567 abcdefghij "},
{ERR=> "2+1 records in\n0+1 records out\n1 truncated record\n"},
],
+ [
+ # Before fileutils-5.93, this would output just "c\n".
+ 'sk-seek4', qw(bs=1 skip=1 status=noxfer),
+ {IN_PIPE=> "abc\n"},
+ {OUT=> "bc\n"},
+ {ERR=> "3+0 records in\n3+0 records out\n"},
+ ],
);
my $save_temps = $ENV{DEBUG};