1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-12-13 02:10:27 +00:00

Test suite: correctly execute tests when stdout is redirected

This commit is contained in:
Alexander Barton 2012-11-13 22:41:23 +01:00
parent 44926b7f9f
commit 8061056cec

View File

@ -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"