projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cf6fb3
)
tests: help-version: exit nonzero when $built_programs is empty
author
Jim Meyering
<meyering@redhat.com>
Fri, 13 Nov 2009 20:01:02 +0000
(21:01 +0100)
committer
Jim Meyering
<meyering@redhat.com>
Sat, 14 Nov 2009 14:01:44 +0000
(15:01 +0100)
* tests/misc/help-version: Use "Exit 1", rather than "Exit $fail"
with fail defined to 0 when $built_programs is empty.
tests/misc/help-version
patch
|
blob
|
history
diff --git
a/tests/misc/help-version
b/tests/misc/help-version
index 60283560224d7a89e1084b2813fa1e0bb90472d3..8f5cbdd288cdf9cddb2c20154eb652e77aeabfeb 100755
(executable)
--- a/
tests/misc/help-version
+++ b/
tests/misc/help-version
@@
-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