]> granicus.if.org Git - ngircd/commitdiff
Test suite: correctly execute tests when stdout is redirected
authorAlexander Barton <alex@barton.de>
Tue, 13 Nov 2012 21:41:23 +0000 (22:41 +0100)
committerAlexander Barton <alex@barton.de>
Tue, 13 Nov 2012 21:46:06 +0000 (22:46 +0100)
src/testsuite/tests.sh

index 8ecf8abf659b85fdedb7f8b59b17a8bdf0af83ed..1989205bcf3c0d62f21f521d05879cf76ccf72f4 100755 (executable)
@@ -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"