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:
parent
44926b7f9f
commit
8061056cec
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user