Revision: 1089
http://vcs.pcre.org/viewvc?view=rev&revision=1089
Author: chpe
Date: 2012-10-16 16:55:45 +0100 (Tue, 16 Oct 2012)
Log Message:
-----------
pcre32: tests: Use \x?? escapes to create invalid UTF-8
Make test input data lines be UTF-8; so to construct invalid UTF-8
sequences \x?? escapes must be used.
Modified Paths:
--------------
code/trunk/testdata/testinput15
code/trunk/testdata/testoutput15
Modified: code/trunk/testdata/testinput15
===================================================================
--- code/trunk/testdata/testinput15 2012-10-16 15:55:41 UTC (rev 1088)
+++ code/trunk/testdata/testinput15 2012-10-16 15:55:45 UTC (rev 1089)
@@ -50,10 +50,10 @@
/\xC3\xC3\xC3xxx/8?DZSS
/abc/8
- \xC3]
- \xC3
- \xC3\xC3\xC3
- \xC3\xC3\xC3\?
+ \xc3]
+ \xc3
+ \xc3\xc3\xc3
+ \xc3\xc3\xc3\?
\xe1\x88
\P\xe1\x88
\P\P\xe1\x88
Modified: code/trunk/testdata/testoutput15
===================================================================
--- code/trunk/testdata/testoutput15 2012-10-16 15:55:41 UTC (rev 1088)
+++ code/trunk/testdata/testoutput15 2012-10-16 15:55:45 UTC (rev 1089)
@@ -85,13 +85,13 @@
Need char = 'x'
/abc/8
- \xC3]
+ \xc3]
Error -10 (bad UTF-8 string) offset=0 reason=6
- \xC3
+ \xc3
Error -10 (bad UTF-8 string) offset=0 reason=1
- \xC3\xC3\xC3
+ \xc3\xc3\xc3
Error -10 (bad UTF-8 string) offset=0 reason=6
- \xC3\xC3\xC3\?
+ \xc3\xc3\xc3\?
No match
\xe1\x88
Error -10 (bad UTF-8 string) offset=0 reason=1