]> granicus.if.org Git - check/commitdiff
tests: fix expected strings for output tests when fork is unavailable
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Mon, 14 Sep 2015 02:11:58 +0000 (02:11 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Mon, 14 Sep 2015 02:11:58 +0000 (02:11 +0000)
There were a few discrepancies with the expected output and the
actual output for the special characters test.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1228 64e312b2-a51f-0410-8e61-82d0ca0eb02a

tests/test_output_strings

index ccb3861faacd906d9cf988c899430ffaa9972a2a..90f963307975a73c98022ec7fd560b55e5d70063 100644 (file)
@@ -36,7 +36,7 @@ exp_normal_result=`printf "42%%: Checks: 7, Failures: 4, Errors: 0
 ${SRCDIR}ex_output.c:37:F:Core:test_fail:0: Failure
 ${SRCDIR}ex_output.c:72:F:Core:test_loop:0: Iteration 0 failed
 ${SRCDIR}ex_output.c:72:F:Core:test_loop:2: Iteration 2 failed
-${SRCDIR}ex_output.c:78:F:description \" ' < > &\x9 \xA end:test_xml_esc_fail_msg:0: fail \" ' < > & \x9 \x0AX\x08 message"`
+${SRCDIR}ex_output.c:78:F:description \" ' < > & \x9 \x0AX\x08 end:test_xml_esc_fail_msg:0: fail \" ' < > & \x9 \x0AX\x08 message"`
 fi
 exp_normal="$suite_output
 $exp_normal_result"
@@ -224,7 +224,7 @@ expected_xml="<?xml version=\"1.0\"?>
 </testsuites>"
 expected_duration_count=9
 else
-expected_xml="<?xml version=\"1.0\" encoding=\"UTF-8\"?>
+expected_xml="<?xml version=\"1.0\"?>
 <?xml-stylesheet type=\"text/xsl\" href=\"http://check.sourceforge.net/xml/check_unittest.xslt\"?>
 <testsuites xmlns=\"http://check.sourceforge.net/ns\">
   <suite>