* tests/join/join.pl (@tv): Add two test cases. --- tests/join/join.pl | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/tests/join/join.pl b/tests/join/join.pl index d1ff106d2..90c5bce19 100755 --- a/tests/join/join.pl +++ b/tests/join/join.pl @@ -311,6 +311,12 @@ my @tv = ( ['z6', '-z -t ""', ["a\n1\n\0", "a\n1\n\0"], "a\n1\n\0"], +# Test multiple -e options. +['ee1', '-a1 -e "d" -e "d" -o 1.1,1.2,2.2', + ["1 a\n2 b\n", "1 c\n"], "1 a c\n2 b d\n"], +['ee2', '-a1 -e "d" -e "e" -o 1.1,1.2,2.2', + ["1 a\n2 b\n", "1 c\n"], "", 1, + "$prog: conflicting empty-field replacement strings\n"], ); # Convert the above old-style test vectors to the newer -- 2.55.0
