diff options
author | Jim Meyering <jim@meyering.net> | 2005-11-02 20:36:36 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-11-02 20:36:36 +0000 |
commit | a49c7ccfe16be3716de005ce9780e29ed31bb4ea (patch) | |
tree | 9a41a4ebde8e035a9d3bc22d76424434f344e31b /tests/dd | |
parent | 83743fc715e142941669527cb8bf7ea7d576d6ef (diff) | |
download | coreutils-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-x | tests/dd/skip-seek | 7 |
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}; |