projects
/
notmuch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix handling of broken tests.
[notmuch]
/
test
/
test-lib.sh
diff --git
a/test/test-lib.sh
b/test/test-lib.sh
old mode 100644
(file)
new mode 100755
(executable)
index
04a4c14
..
da91de8
--- a/
test/test-lib.sh
+++ b/
test/test-lib.sh
@@
-440,6
+440,8
@@
test_expect_equal ()
test_expect_equal_failure ()
{
+ exec 1>&6 2>&7 # Restore stdout and stderr
+ inside_subtest=
test "$#" = 3 && { prereq=$1; shift; } || prereq=
test "$#" = 2 ||
error "bug in the test script: not 2 or 3 parameters to test_expect_equal"