diff options
author | Jim Meyering <jim@meyering.net> | 2004-06-02 21:20:23 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-06-02 21:20:23 +0000 |
commit | 3ce2931ad25588ddd3b92f5de8d42b3edbfbeec9 (patch) | |
tree | 2250bbc984a961556610c810449ed56e790acacf /tests | |
parent | 709978531b78bd52625662f506d0e7a92833b39c (diff) | |
download | coreutils-3ce2931ad25588ddd3b92f5de8d42b3edbfbeec9.tar.xz |
Add tests of --output-delimiter=S with abutting and overlapping byte ranges.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/cut/Test.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/cut/Test.pm b/tests/cut/Test.pm index 69da16980..cc93c1c11 100755 --- a/tests/cut/Test.pm +++ b/tests/cut/Test.pm @@ -85,6 +85,13 @@ my @tv = ( ['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], +# +['od-abut', '-b1-2,3-4 --output-d=:', "abcd\n", "ab:cd\n", 0], +['od-overlap', '-b1-2,2 --output-d=:', "abc\n", "ab\n", 0], +['od-overlap2', '-b1-2,2- --output-d=:', "abc\n", "abc\n", 0], +['od-overlap3', '-b1-3,2- --output-d=:', "abcd\n", "abcd\n", 0], +['od-overlap4', '-b1-3,2-3 --output-d=:', "abcd\n", "abc\n", 0], +['od-overlap5', '-b1-3,1-4 --output-d=:', "abcde\n", "abcd\n", 0], ); |