git.droids-corp.org
/
git-central.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54f28cd
)
Fix test-lib bug not &&'ing together the exit code for multiple update scripts.
author
Stephen Haberman
<stephen@exigencecorp.com>
Sun, 24 Aug 2008 20:58:11 +0000
(15:58 -0500)
committer
Stephen Haberman
<stephen@exigencecorp.com>
Sun, 24 Aug 2008 20:58:11 +0000
(15:58 -0500)
tests/test-lib.sh
patch
|
blob
|
history
diff --git
a/tests/test-lib.sh
b/tests/test-lib.sh
index
f88ad66
..
16099b7
100644
(file)
--- a/
tests/test-lib.sh
+++ b/
tests/test-lib.sh
@@
-466,8
+466,9
@@
install_update_hook () {
echo "#!/bin/sh" >$hook
for ((i=1;i<=$#;i+=1)); do
eval script_name="$"$i
- echo "../../../../server/$script_name \$1 \$2 \$3" >>$hook
+ echo "../../../../server/$script_name \$1 \$2 \$3
&&
" >>$hook
done
+ echo "echo >/dev/null" >>$hook
chmod +x $hook
}