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:
bbafdc3
)
tests: ensure at least one failure when $built_programs is empty
author
Jim Meyering
<meyering@redhat.com>
Fri, 25 Apr 2008 08:59:47 +0000
(10:59 +0200)
committer
Jim Meyering
<meyering@redhat.com>
Sun, 27 Apr 2008 19:31:33 +0000
(21:31 +0200)
Before, this test and others would pass with empty $built_programs.
* tests/misc/help-version: Fail if built_programs is empty.
tests/misc/help-version
patch
|
blob
|
history
diff --git
a/tests/misc/help-version
b/tests/misc/help-version
index
6cbf138
..
da900a5
100755
(executable)
--- a/
tests/misc/help-version
+++ b/
tests/misc/help-version
@@
-40,6
+40,9
@@
expected_failure_status_vdir=2
fail=0
+test "$built_programs" \
+ || { echo "$this_test: no programs built!?!" 1>&2; (exit $fail); exit $fail; }
+
for lang in C fr da; do
for i in $built_programs; do