summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/cut/Test.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/cut/Test.pm b/tests/cut/Test.pm
index fc6893fc3..2e6399c5d 100755
--- a/tests/cut/Test.pm
+++ b/tests/cut/Test.pm
@@ -64,6 +64,11 @@ my @tv = (
['empty-f2', '-f2', "", "", 0],
+['o-delim', '-d: -f2,3 --out=_', "a:b:c\n", "b_c\n", 0],
+['nul-idelim', "-d '' -f2,3 --out=_", "a\0b\0c\n", "b_c\n", 0],
+['nul-odelim', "-d: -f2,3 --out=", "a:b:c\n", "b\0c\n", 0],
+['multichar-od', "-d: -f2,3 --out=_._", "a:b:c\n", "b_._c\n", 0],
+
);
sub test_vector