Module: ngircd.git Branch: master Commit: 8061056cec2a4105212d257fcb278b3248c41e4c URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=80610...
Author: Alexander Barton alex@barton.de Date: Tue Nov 13 22:41:23 2012 +0100
Test suite: correctly execute tests when stdout is redirected
---
src/testsuite/tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/testsuite/tests.sh b/src/testsuite/tests.sh index 8ecf8ab..1989205 100755 --- a/src/testsuite/tests.sh +++ b/src/testsuite/tests.sh @@ -45,7 +45,7 @@ if test -t 1 2>/dev/null; then fi
echo_n "running ${test} ..." -expect "$e_tmp" > logs/${test}.log; r=$? +expect "$e_exec" > logs/${test}.log; r=$? [ $r -eq 0 ] && echo " ok." || echo " failure!"
rm -f "$e_tmp"