mirror of
https://github.com/osmarks/ngircd.git
synced 2025-01-19 03:52:52 +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
|
fi
|
||||||
|
|
||||||
echo_n "running ${test} ..."
|
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!"
|
[ $r -eq 0 ] && echo " ok." || echo " failure!"
|
||||||
|
|
||||||
rm -f "$e_tmp"
|
rm -f "$e_tmp"
|
||||||
|
Loading…
Reference in New Issue
Block a user