summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-10-30 16:49:19 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-10-30 16:49:19 +0000
commit825ec65dd739c6637db382d266fe0f0a292ebc21 (patch)
tree925df966e75f24244db333a71bb41b61b0699107 /testdata
parent4fd578d0b721e7267bbfad4dd97652687d643d09 (diff)
downloadpcre-825ec65dd739c6637db382d266fe0f0a292ebc21.tar.gz
pcretest was not diagnosing characters > 0x7fffffff in 8-bit mode.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1190 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'testdata')
-rw-r--r--testdata/testinput154
-rw-r--r--testdata/testoutput156
2 files changed, 10 insertions, 0 deletions
diff --git a/testdata/testinput15 b/testdata/testinput15
index c55f3a5..8753e5e 100644
--- a/testdata/testinput15
+++ b/testdata/testinput15
@@ -423,4 +423,8 @@ correctly, but that messes up comparisons). --/
/\x{a0}+\s!/8BZT1
\x{a0}\x20!
+/A/8
+ \x{ff000041}
+ \x{7f000041}
+
/-- End of testinput15 --/
diff --git a/testdata/testoutput15 b/testdata/testoutput15
index 9c99da2..b9d5aa2 100644
--- a/testdata/testoutput15
+++ b/testdata/testoutput15
@@ -1260,4 +1260,10 @@ Need char = \x{bf}
\x{a0}\x20!
0: \x{a0} !
+/A/8
+ \x{ff000041}
+** Character \x{ff000041} is greater than 0x7fffffff and so cannot be converted to UTF-8
+ \x{7f000041}
+Error -10 (bad UTF-8 string) offset=0 reason=12
+
/-- End of testinput15 --/