From: Pádraig Brady Date: Sat, 9 Jan 2016 01:24:20 +0000 (+0000) Subject: tests: include part of wc-files0.sh skipped by mistake X-Git-Tag: v8.25~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2370c64a10924046d382f5205af3fcdaf0269959;p=thirdparty%2Fcoreutils.git tests: include part of wc-files0.sh skipped by mistake * tests/misc/wc-files0.sh: $fail is always set to 0, so correct the test to include that part of the test case. --- diff --git a/tests/misc/wc-files0.sh b/tests/misc/wc-files0.sh index 4562e6a4ee..12b7d6afe8 100755 --- a/tests/misc/wc-files0.sh +++ b/tests/misc/wc-files0.sh @@ -33,7 +33,7 @@ EOF compare exp out || fail=1 -if test "$fail" = ''; then +if ! test "$fail" = 1; then # Repeat the above test, but read the file name list from stdin. rm -f out wc --files0-from=- < names > out || fail=1