From: Justin Tracey Date: Fri, 3 Sep 2021 15:46:53 +0000 (-0400) Subject: tests: narrow scope of faulty join args X-Git-Tag: v9.0~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d5dbb82030a2ca7aef606d36a9d04863240c7a8;p=thirdparty%2Fcoreutils.git tests: narrow scope of faulty join args * tests/misc/join.pl: Only test invalid-j with an invalid -j field, not with missing operands as well. --- diff --git a/tests/misc/join.pl b/tests/misc/join.pl index 8d6f17079b..bfd9e6f9db 100755 --- a/tests/misc/join.pl +++ b/tests/misc/join.pl @@ -176,7 +176,7 @@ my @tv = ( ["a\n", "b\n"], " a b\n", 0], # FIXME: change this to ensure the diagnostic makes sense -['invalid-j', '-j x', {}, "", 1, +['invalid-j', '-j x', ["", ""], "", 1, "$prog: invalid field number: 'x'\n"], # With ordering check, inputs in order