diff options
author | chpe <chpe@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-10-16 15:53:49 +0000 |
---|---|---|
committer | chpe <chpe@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-10-16 15:53:49 +0000 |
commit | a59b5cf7444dc2c3255e41ba7c2a8ed91ca6227f (patch) | |
tree | 4932c6774bd255f03e2469787bce8ca949a765ca | |
parent | 8d5cc571a0dd5317a0a8e0823aae6ddd74dd730a (diff) | |
download | pcre-a59b5cf7444dc2c3255e41ba7c2a8ed91ca6227f.tar.gz |
pcre32: tests: Separate UTF and non-UTF tests
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1058 2f5784b3-3f2a-0410-8824-cb99058d5e15
-rw-r--r-- | testdata/testinput25 | 5 | ||||
-rw-r--r-- | testdata/testinput26 | 7 | ||||
-rw-r--r-- | testdata/testoutput25 | 7 | ||||
-rw-r--r-- | testdata/testoutput26 | 9 |
4 files changed, 16 insertions, 12 deletions
diff --git a/testdata/testinput25 b/testdata/testinput25 index 1c81cb9..3dfaf5b 100644 --- a/testdata/testinput25 +++ b/testdata/testinput25 @@ -2,8 +2,6 @@ /-- Check maximum character size --/ -/\x{110000}/8 - /\x{110000}/ /\x{7fffffff}/ @@ -12,9 +10,6 @@ /-- Non-UTF characters --/ -/\C/8 - \x{110000} - /\C{2,3}/ \x{400000}\x{400001}\x{400002}\x{400003} diff --git a/testdata/testinput26 b/testdata/testinput26 index c492659..643a1d1 100644 --- a/testdata/testinput26 +++ b/testdata/testinput26 @@ -1,3 +1,10 @@ /-- Tests for the 32-bit library with UTF-32 support only */ +/-- Non-UTF characters --/ + +/\x{110000}/8 + +/\C/8 + \x{110000} + /-- End of testinput26 --/ diff --git a/testdata/testoutput25 b/testdata/testoutput25 index 541ada5..4b5fb2a 100644 --- a/testdata/testoutput25 +++ b/testdata/testoutput25 @@ -2,9 +2,6 @@ /-- Check maximum character size --/ -/\x{110000}/8 -Failed: character value in \x{...} sequence is too large at offset 9 - /\x{110000}/ /\x{7fffffff}/ @@ -14,10 +11,6 @@ Failed: character value in \x{...} sequence is too large at offset 11 /-- Non-UTF characters --/ -/\C/8 - \x{110000} -**Failed: character value greater than 0x10ffff cannot be converted to UTF-32 - /\C{2,3}/ \x{400000}\x{400001}\x{400002}\x{400003} 0: \x{400000}\x{400001}\x{400002} diff --git a/testdata/testoutput26 b/testdata/testoutput26 index c492659..f584609 100644 --- a/testdata/testoutput26 +++ b/testdata/testoutput26 @@ -1,3 +1,12 @@ /-- Tests for the 32-bit library with UTF-32 support only */ +/-- Non-UTF characters --/ + +/\x{110000}/8 +Failed: character value in \x{...} sequence is too large at offset 9 + +/\C/8 + \x{110000} +**Failed: character value greater than 0x10ffff cannot be converted to UTF-32 + /-- End of testinput26 --/ |