Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
42be591
)
Count overall failure if some expected scripts were missing.
author
Martin Pool
<mbp@samba.org>
Wed, 29 Aug 2001 08:48:00 +0000
(08:48 +0000)
committer
Martin Pool
<mbp@samba.org>
Wed, 29 Aug 2001 08:48:00 +0000
(08:48 +0000)
runtests.sh
patch
|
blob
|
blame
|
history
diff --git
a/runtests.sh
b/runtests.sh
index
39ca364
..
1026d05
100755
(executable)
--- a/
runtests.sh
+++ b/
runtests.sh
@@
-83,7
+83,10
@@
# Also, we can't count on 'cp -a' or 'mkdir -p', although they're
# pretty handy.
# Also, we can't count on 'cp -a' or 'mkdir -p', although they're
# pretty handy.
-# Eventually we would like to not count on shell functions.
+# I think some of the GNU documentation suggests that we shouldn't
+# rely on shell functions. However, the Bash manual seems to say that
+# they're in POSIX 1003.2, and since the build farm relies on them
+# they're probably working on most machines we really care about.
set -e
set -e
@@
-170,7
+173,7
@@
echo " $skipped skipped"
echo " $missing missing"
echo '------------------------------------------------------------'
echo " $missing missing"
echo '------------------------------------------------------------'
-if test
$failed
-gt 0
+if test
"$failed" -gt 0 || test "$missing"
-gt 0
then
exit 1
else
then
exit 1
else