From c55974d115e2430acab42cf06b004c9f7e83b4e2 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 22 Jul 2003 12:44:22 +0000 Subject: New test for the above fix. --- tests/cut/Test.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/cut/Test.pm') diff --git a/tests/cut/Test.pm b/tests/cut/Test.pm index 3f5e470df..126f34e6a 100755 --- a/tests/cut/Test.pm +++ b/tests/cut/Test.pm @@ -82,6 +82,8 @@ my @tv = ( # Before an off-by-one fix, the output from the former would not contain a `:'. ['out-delim4', '-c4-,2-3 --output-d=:', "abcdefg\n", "bc:defg\n", 0], ['out-delim5', '-c2-3,4- --output-d=:', "abcdefg\n", "bc:defg\n", 0], +# This test would fail for cut from coreutils-5.0.1 and earlier. +['out-delim6', '-c2,1-3 --output-d=:', "abc\n", "abc\n", 0], ); -- cgit v1.2.3-70-g09d2