From: Jim Meyering Date: Wed, 2 Nov 2005 20:36:36 +0000 (+0000) Subject: (sk-seek4): New test, to exercise the bug X-Git-Tag: COREUTILS-6_0~1421 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a49c7ccfe16be3716de005ce9780e29ed31bb4ea;p=platform%2Fupstream%2Fcoreutils.git (sk-seek4): New test, to exercise the bug fixed on 2005-10-31. This test uses the new, IN_PIPE specifier. --- diff --git a/tests/dd/skip-seek b/tests/dd/skip-seek index e0a509d..897c4b7 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};