Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
remote-bzr: simplify test checks
[gitweb.git]
/
t
/
test-lib-functions.sh
diff --git
a/t/test-lib-functions.sh
b/t/test-lib-functions.sh
index 42c2258b4fdf37b9d2e440f0918f8e4e4f7608f0..52510094add59b508e1581ffebfa555e7249561c 100644
(file)
--- a/
t/test-lib-functions.sh
+++ b/
t/test-lib-functions.sh
@@
-540,6
+540,9
@@
test_must_fail () {
elif test $exit_code = 127; then
echo >&2 "test_must_fail: command not found: $*"
return 1
+ elif test $exit_code = 126; then
+ echo >&2 "test_must_fail: valgrind error: $*"
+ return 1
fi
return 0
}