mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
tests: help-version: exit nonzero when $built_programs is empty
* tests/misc/help-version: Use "Exit 1", rather than "Exit $fail" with fail defined to 0 when $built_programs is empty.
This commit is contained in:
1 parent
5cf6fb3b12
commit
00f0cabaec
1 file changed
+1
-1
@@ -45,7 +45,7 @@ expected_failure_status_vdir=2
|
||||
|
||||
|
||||
test "$built_programs" \
|
||||
|| { echo "$this_test: no programs built!?!" 1>&2; Exit $fail; }
|
||||
|| { echo "$this_test: no programs built!?!" 1>&2; Exit 1; }
|
||||
|
||||
for lang in C fr da; do
|
||||
for i in $built_programs; do
|
||||
|
||||
Reference in new issue
Block a user