SRCDIR=""
fi
-exp_silent="x"
+exp_silent=""
if [ $HAVE_FORK -eq 1 ]; then
-exp_minimal="xRunning suite(s): S1
+exp_minimal="Running suite(s): S1
S2
XML escape \" ' < > & tests
37%: Checks: 8, Failures: 4, Errors: 1"
else
-exp_minimal="xRunning suite(s): S1
+exp_minimal="Running suite(s): S1
S2
XML escape \" ' < > & tests
42%: Checks: 7, Failures: 4, Errors: 0"
fi
if [ $HAVE_FORK -eq 1 ]; then
-exp_normal="xRunning suite(s): S1
+exp_normal="Running suite(s): S1
S2
XML escape \" ' < > & tests
37%: Checks: 8, Failures: 4, Errors: 1
${SRCDIR}ex_output.c:52:F:Core:test_loop:2: Iteration 2 failed
${SRCDIR}ex_output.c:58:F:description \" ' < > &:test_xml_esc_fail_msg:0: fail \" ' < > & message"
else
-exp_normal="xRunning suite(s): S1
+exp_normal="Running suite(s): S1
S2
XML escape \" ' < > & tests
42%: Checks: 7, Failures: 4, Errors: 0
fi
if [ $HAVE_FORK -eq 1 ]; then
-exp_verbose="xRunning suite(s): S1
+exp_verbose="Running suite(s): S1
S2
XML escape \" ' < > & tests
37%: Checks: 8, Failures: 4, Errors: 1
${SRCDIR}ex_output.c:52:F:Core:test_loop:2: Iteration 2 failed
${SRCDIR}ex_output.c:58:F:description \" ' < > &:test_xml_esc_fail_msg:0: fail \" ' < > & message"
else
-exp_verbose="xRunning suite(s): S1
+exp_verbose="Running suite(s): S1
S2
XML escape \" ' < > & tests
42%: Checks: 7, Failures: 4, Errors: 0
fi
if [ $HAVE_FORK -eq 1 ]; then
-exp_subunit="xtest: Core:test_pass
+exp_subunit="test: Core:test_pass
success: Core:test_pass
test: Core:test_fail
failure: Core:test_fail [
${SRCDIR}ex_output.c:58: fail \" ' < > & message
]"
else
-exp_subunit="xtest: Core:test_pass
+exp_subunit="test: Core:test_pass
success: Core:test_pass
test: Core:test_fail
failure: Core:test_fail [
test_output ( ) {
- if [ "${1}" != "${2}" ]; then
+ if [ "x${1}" != "x${2}" ]; then
echo "Problem with ex_output${EXEEXT} ${3}";
echo "Expected:";
echo "${1}";
}
-test_output "$exp_silent" x"$act_silent" "CK_SILENT STDOUT NORMAL";
-test_output "$exp_minimal" x"$act_minimal" "CK_MINIMAL STDOUT NORMAL";
-test_output "$exp_normal" x"$act_normal" "CK_NORMAL STDOUT NORMAL";
-test_output "$exp_verbose" x"$act_verbose" "CK_VERBOSE STDOUT NORMAL";
+test_output "$exp_silent" "$act_silent" "CK_SILENT STDOUT NORMAL";
+test_output "$exp_minimal" "$act_minimal" "CK_MINIMAL STDOUT NORMAL";
+test_output "$exp_normal" "$act_normal" "CK_NORMAL STDOUT NORMAL";
+test_output "$exp_verbose" "$act_verbose" "CK_VERBOSE STDOUT NORMAL";
if test 1 -eq $ENABLE_SUBUNIT; then
-test_output "$exp_subunit" x"$act_subunit" "CK_SUBUNIT STDOUT NORMAL";
+test_output "$exp_subunit" "$act_subunit" "CK_SUBUNIT STDOUT NORMAL";
fi
exit 0