From: Collin Funk Date: Tue, 14 Jul 2026 05:38:03 +0000 (-0700) Subject: tests: join: test the behavior when given multiple -e options X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fe186925c7aa3ae8cf3d336278c4e17d5664a932;p=thirdparty%2Fcoreutils.git tests: join: test the behavior when given multiple -e options * tests/join/join.pl (@tv): Add two test cases. --- diff --git a/tests/join/join.pl b/tests/join/join.pl index d1ff106d23..90c5bce197 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