summaryrefslogtreecommitdiff
path: root/testdata/wintestinput3
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2015-02-25 17:19:28 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2015-02-25 17:19:28 +0000
commit3d5a9c3f17c67224f4d375e1230c010577cb123d (patch)
tree94047fd4ce3f684d2a1013bafa44093569ed45f4 /testdata/wintestinput3
parent4d636405cfd01ca108c7359d1a79bd1f862d2a38 (diff)
downloadpcre2-3d5a9c3f17c67224f4d375e1230c010577cb123d.tar.gz
Add RunTest.bat for testing under Windows, with appropriate test files.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@208 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'testdata/wintestinput3')
-rwxr-xr-xtestdata/wintestinput3104
1 files changed, 104 insertions, 0 deletions
diff --git a/testdata/wintestinput3 b/testdata/wintestinput3
new file mode 100755
index 0000000..8d8017a
--- /dev/null
+++ b/testdata/wintestinput3
@@ -0,0 +1,104 @@
+# This set of tests checks local-specific features, using the "fr_FR" locale.
+# It is not Perl-compatible. When run via RunTest, the locale is edited to
+# be whichever of "fr_FR", "french", or "fr" is found to exist. There is
+# different version of this file called wintestinput3 for use on Windows,
+# where the locale is called "french" and the tests are run using
+# RunTest.bat.
+
+#forbid_utf
+
+/^[\w]+/
+ *** Failers
+ École
+
+/^[\w]+/locale=french
+ École
+
+/^[\w]+/
+ *** Failers
+ École
+
+/^[\W]+/
+ École
+
+/^[\W]+/locale=french
+ *** Failers
+ École
+
+/[\b]/
+ \b
+ *** Failers
+ a
+
+/[\b]/locale=french
+ \b
+ *** Failers
+ a
+
+/^\w+/
+ *** Failers
+ École
+
+/^\w+/locale=french
+ École
+
+/(.+)\b(.+)/
+ École
+
+/(.+)\b(.+)/locale=french
+ *** Failers
+ École
+
+/École/i
+ École
+ *** Failers
+ école
+
+/École/i,locale=french
+ École
+ école
+
+/\w/I
+
+/\w/I,locale=french
+
+# All remaining tests are in the french locale, so set the default.
+
+#pattern locale=french
+
+/^[\xc8-\xc9]/i
+ École
+ école
+
+/^[\xc8-\xc9]/
+ École
+ *** Failers
+ école
+
+/\W+/
+ >>>\xaa<<<
+ >>>\xba<<<
+
+/[\W]+/
+ >>>\xaa<<<
+ >>>\xba<<<
+
+/[^[:alpha:]]+/
+ >>>\xaa<<<
+ >>>\xba<<<
+
+/\w+/
+ >>>\xaa<<<
+ >>>\xba<<<
+
+/[\w]+/
+ >>>\xaa<<<
+ >>>\xba<<<
+
+/[[:alpha:]]+/
+ >>>\xaa<<<
+ >>>\xba<<<
+
+/[[:alpha:]][[:lower:]][[:upper:]]/IB
+
+# End of testinput3