Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-branch -D: make it work even when on a yet-to-be-born branch
[gitweb.git]
/
t
/
test-lib.sh
diff --git
a/t/test-lib.sh
b/t/test-lib.sh
index 07cb706fa8a241bf707b91d033ea0c5c876d9307..3895f167093c6a237ad8337ebf8b3c56ee3700ad 100755
(executable)
--- a/
t/test-lib.sh
+++ b/
t/test-lib.sh
@@
-129,7
+129,7
@@
test_expect_failure () {
error "bug in the test script: not 2 parameters to test-expect-failure"
say >&3 "expecting failure: $2"
test_run_ "$2"
- if [ "$?" = 0 -a "$eval_ret" != 0 ]
+ if [ "$?" = 0 -a "$eval_ret" != 0
-a "$eval_ret" -lt 129
]
then
test_ok_ "$1"
else