summaryrefslogtreecommitdiff
path: root/tests/cut
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-07-22 12:44:22 +0000
committerJim Meyering <jim@meyering.net>2003-07-22 12:44:22 +0000
commitc55974d115e2430acab42cf06b004c9f7e83b4e2 (patch)
tree6dc68f566cc207862f7c47c4f4fedc5a54f1c46c /tests/cut
parent68371a1d4c206b4d51e4ec7228463b6fbdddf1c0 (diff)
downloadcoreutils-c55974d115e2430acab42cf06b004c9f7e83b4e2.tar.xz
New test for the above fix.
Diffstat (limited to 'tests/cut')
-rwxr-xr-xtests/cut/Test.pm2
1 files changed, 2 insertions, 0 deletions
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],
);