]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
New test for the above fix.
authorJim Meyering <jim@meyering.net>
Tue, 22 Jul 2003 12:44:22 +0000 (12:44 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 22 Jul 2003 12:44:22 +0000 (12:44 +0000)
tests/cut/Test.pm

index 3f5e470df59ecc1b97b788e4ab3fabeaa6bdf2de..126f34e6ac5b07650e2654ec2cbd6078d6ce8c68 100755 (executable)
@@ -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],
 
 );