Just in case the output is left over from the previous test run
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@885
64e312b2-a51f-0410-8e61-
82d0ca0eb02a
fi
test_log_output ( ) {
-
+ rm -f ${OUTPUT_FILE}
./ex_log_output${EXEEXT} "${1}" > /dev/null
actual=`cat ${OUTPUT_FILE} | tr -d "\r"`
if [ x"${expected}" != x"${actual}" ]; then
fi
test_tap_output ( ) {
+ rm -f ${OUTPUT_FILE}
./ex_tap_output${EXEEXT} "${1}" > /dev/null
actual_tap=`cat ${OUTPUT_FILE} | tr -d "\r"`
expected_tap="${2}"
expected_duration_count=8
fi
+rm -f ${OUTPUT_FILE}
./ex_xml_output${EXEEXT} > /dev/null
actual_xml=`cat ${OUTPUT_FILE} | tr -d "\r" | grep -v \<duration\> | grep -v \<datetime\> | grep -v \<path\>`
if [ x"${expected_xml}" != x"${actual_xml}" ]; then