rm -f $ocase.*
+EF_DISABLE_BANNER=1
+export EF_DISABLE_BANNER
+
set +e
ADNS_TEST_REPORT_FD=3 3>>"$ocase.report" >"$ocase.out" 2>"$ocase.err" \
./hplayback $initflags "/$initstring" $queryargs
then
:
else
- failed=true
+ failwhy="$failwhy WRONG OUTPUT"
fi
done
-if $failed
+cat >"$ocase.leftover"
+if egrep . /dev/null "$ocase.leftover"
+then
+ failwhy="$failwhy EXITED EARLY"
+fi
+
+if [ "x$failwhy" != x ]
then
- echo >&2 "FAILED $case - WRONG OUTPUT - lines of syscall remaining `wc -l`"
+ scremain="`wc -l <\"$ocase.leftover\"`"
+ echo >&2 "FAILED $case -$failwhy - lines of syscall remaining $scremain"
mrc=2
exit
fi