summaryrefslogtreecommitdiff
path: root/testdata/testinput20
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2017-05-06 16:56:07 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2017-05-06 16:56:07 +0000
commitfcc05a01a8c1f87b3286a27dffc508dd5b0ced31 (patch)
treef831e5389f5692d454b30b0c3a46826acee357b2 /testdata/testinput20
parentb5c23b406b97caab0665750d1c6d2ea628f46116 (diff)
downloadpcre2-fcc05a01a8c1f87b3286a27dffc508dd5b0ced31.tar.gz
Fix crash when more than one kind of "push" was set in pcre2test.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@767 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'testdata/testinput20')
-rw-r--r--testdata/testinput2044
1 files changed, 26 insertions, 18 deletions
diff --git a/testdata/testinput20 b/testdata/testinput20
index c87a07e..71f39ae 100644
--- a/testdata/testinput20
+++ b/testdata/testinput20
@@ -31,20 +31,20 @@
#load testsaved2
#pop info
- foofoo
+ foofoo
barbar
-
+
#pop mark
C
-\= Expect no match
- D
-
+\= Expect no match
+ D
+
#pop
- AmanaplanacanalPanama
+ AmanaplanacanalPanama
#pop info
metcalfe 33
-
+
# Check for an error when different tables are used.
/abc/push,tables=1
@@ -59,30 +59,30 @@
#pop should give an error
pqr
-
+
/abcd/pushcopy
abcd
-
+
#pop
- abcd
+ abcd
#pop should give an error
/abcd/push
#popcopy
abcd
-
+
#pop
- abcd
-
+ abcd
+
/abcd/push
#save testsaved1
#pop should give an error
#load testsaved1
-#popcopy
+#popcopy
abcd
-
+
#pop
abcd
@@ -91,10 +91,18 @@
/abcd/pushtablescopy
abcd
-#popcopy
+#popcopy
abcd
-
+
#pop
- abcd
+ abcd
+
+# Must only specify one of these
+
+//push,pushcopy
+
+//push,pushtablescopy
+
+//pushcopy,pushtablescopy
# End of testinput20