]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Add test cases for escape characters in the GLOB operator. (CVS 2101)
authordrh <drh@noemail.net>
Mon, 15 Nov 2004 01:40:47 +0000 (01:40 +0000)
committerdrh <drh@noemail.net>
Mon, 15 Nov 2004 01:40:47 +0000 (01:40 +0000)
FossilOrigin-Name: bb2d9ff881e4c6fe0cf60a13609d39426346fa9d

manifest
manifest.uuid
test/expr.test

index 99175017430fa2148b4d9730c1762011fb806fc9..0df471c4944e5664d59d85e145dbdae21afab9d8 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C The\sSQLITE_OMIT_UTF16\smacro\snow\sremoves\slots\sof\scode\sand\sall\stests\sstill\spass.\s(CVS\s2100)
-D 2004-11-14T21:56:29
+C Add\stest\scases\sfor\sescape\scharacters\sin\sthe\sGLOB\soperator.\s(CVS\s2101)
+D 2004-11-15T01:40:48
 F Makefile.in e747bb5ba34ccbdd81f79dcf1b2b33c02817c21d
 F Makefile.linux-gcc a9e5a0d309fa7c38e7c14d3ecf7690879d3a5457
 F README a01693e454a00cc117967e3f9fdab2d4d52e9bc1
@@ -122,7 +122,7 @@ F test/diskfull.test e2f6cfd868713ead06dc82b84a4938e868128fc0
 F test/enc.test 7a03417a1051fe8bc6c7641cf4c8c3f7e0066d52
 F test/enc2.test 6d1a2650e9da43eab499d18ca694a0cb6ec69dee
 F test/enc3.test f6a5f0b7b7f3a88f030d3143729b87cd5c86d837
-F test/expr.test 20ddaf66c7ab673c1d0c953889e3466139256f9a
+F test/expr.test 8a96b21644b9702cabc3695f2b73ae0861376765
 F test/fkey1.test 81bb13caaa78f58d7d191d7f535529f7c91d821a
 F test/func.test 830d352574c7f5cd15149a9be58a6dcc2b995c05
 F test/hook.test f8605cde4c77b2c6a4a73723bf6c507796a64dda
@@ -258,7 +258,7 @@ F www/tclsqlite.tcl 560ecd6a916b320e59f2917317398f3d59b7cc25
 F www/vdbe.tcl 095f106d93875c94b47367384ebc870517431618
 F www/version3.tcl 092a01f5ef430d2c4acc0ae558d74c4bb89638a0
 F www/whentouse.tcl fdacb0ba2d39831e8a6240d05a490026ad4c4e4c
-P 59a0a8b7cebc011731654bd0545cf8d19612ca8e
-R 0f932cfb065804fe829dcf5001ff03c1
+P 98c7a55478f7c465b219edc1a33eee222586fd65
+R 32cec8d8d0b03c9298740976ddab13ec
 U drh
-Z 02b6691979f3c9a7b41515737ea686d0
+Z 556e7e6a41172f441361ab3236982ec5
index 77a8114d5a3c02c27b373c8dc6f9e1fa495aee53..1269054a19d430322a51f0ca04b10b48b271adcb 100644 (file)
@@ -1 +1 @@
-98c7a55478f7c465b219edc1a33eee222586fd65
\ No newline at end of file
+bb2d9ff881e4c6fe0cf60a13609d39426346fa9d
\ No newline at end of file
index e22bd5470245ed16a6905804f4bc4104268e9a30..a3100e71b81e5841c344914aa046f5b413597935 100644 (file)
@@ -11,7 +11,7 @@
 # This file implements regression tests for SQLite library.  The
 # focus of this file is testing expressions.
 #
-# $Id: expr.test,v 1.38 2004/11/10 12:34:20 danielk1977 Exp $
+# $Id: expr.test,v 1.39 2004/11/15 01:40:48 drh Exp $
 
 set testdir [file dirname $argv0]
 source $testdir/tester.tcl
@@ -297,6 +297,9 @@ test_expr expr-6.22b {t1='abcdefg', t2='a*[^def]g'} {t1 GLOB t2} 0
 test_expr expr-6.23 {t1='abcdefg', t2='a*?g'} {t1 GLOB t2} 1
 test_expr expr-6.24 {t1='ac', t2='a*c'} {t1 GLOB t2} 1
 test_expr expr-6.25 {t1='ac', t2='a*?c'} {t1 GLOB t2} 0
+test_expr expr-6.26 {t1='a*c', t2='a[*]c'} {t1 GLOB t2} 1
+test_expr expr-6.27 {t1='a?c', t2='a[?]c'} {t1 GLOB t2} 1
+test_expr expr-6.28 {t1='a[c', t2='a[[]c'} {t1 GLOB t2} 1
 
 
 # These tests only work on versions of TCL that support Unicode
@@ -502,4 +505,3 @@ ifcapable datetime {
 set sqlite_current_time 0
 
 finish_test
-