summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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],
);