mirror of
https://github.com/osmarks/ngircd.git
synced 2025-11-06 00:42:59 +00:00
Test suite: correctly execute tests when stdout is redirected
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user