From 75d902ef016c2966129ceb1f53165e46e11d1063 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 8 Nov 1994 22:40:52 +0000 Subject: . --- tests/join/test.data.pl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'tests/join/test.data.pl') diff --git a/tests/join/test.data.pl b/tests/join/test.data.pl index 50413bd0e..27815af7b 100755 --- a/tests/join/test.data.pl +++ b/tests/join/test.data.pl @@ -1,4 +1,11 @@ +# TODO: make sure all test_names are unique!!!! # test name # flags file-1 file-2 expected output expected return code # -("1", '-a1 -a2', "a 1\n", "b\n", "a 1\nb\n", 0); +('1a', '-a1', "a 1\n", "b\n", "a 1\n", 0); +('1b', '-a2', "a 1\n", "b\n", "b\n", 0); # Got "\n" +('1c', '-a1 -a2', "a 1\n", "b\n", "a 1\nb\n", 0); # Got "a 1\n\n" + +('2a', '-a1 -e .', "a\nb\nc\n", "a x y\nb\nc\n", "a x y\nb\nc\n", 0); +('2b', '-a1 -e . -o 2.1,2.2,2.3', "a\nb\nc\n", "a x y\nb\nc\n", "a x y\nb . .\nc . .\n", 0); +('2c', '-a1 -e . -o 2.1,2.2,2.3', "a\nb\nc\nd\n", "a x y\nb\nc\n", "a x y\nb . .\nc . .\nd\n", 0); -- cgit v1.2.3-70-g09d2