mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Fix the URI test script so that it works even if there is a subdirectory
named "test". FossilOrigin-Name: 2018d4e108872f2436df046636401b89cfde589d
This commit is contained in:
12
manifest
12
manifest
@ -1,5 +1,5 @@
|
|||||||
C Mark\san\sunreachable\sbranch\sin\sthe\srecent\sWAL\sproblem\sas\sunreachable.
|
C Fix\sthe\sURI\stest\sscript\sso\sthat\sit\sworks\seven\sif\sthere\sis\sa\ssubdirectory\nnamed\s"test".
|
||||||
D 2011-05-20T01:49:30.995
|
D 2011-05-20T01:50:01.794
|
||||||
F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
|
F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
|
||||||
F Makefile.in 11dcc00a8d0e5202def00e81732784fb0cc4fe1d
|
F Makefile.in 11dcc00a8d0e5202def00e81732784fb0cc4fe1d
|
||||||
F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
|
F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
|
||||||
@ -843,7 +843,7 @@ F test/unique.test 083c7fff74695bcc27a71d75699deba3595bc9c2
|
|||||||
F test/unixexcl.test 9d80a54d86d2261f660758928959368ffc36151e
|
F test/unixexcl.test 9d80a54d86d2261f660758928959368ffc36151e
|
||||||
F test/unordered.test e81169ce2a8f31b2c6b66af691887e1376ab3ced
|
F test/unordered.test e81169ce2a8f31b2c6b66af691887e1376ab3ced
|
||||||
F test/update.test 8bc86fd7ef1a00014f76dc6a6a7c974df4aef172
|
F test/update.test 8bc86fd7ef1a00014f76dc6a6a7c974df4aef172
|
||||||
F test/uri.test 2d08a6f77bf93ca925743a65802c4aa23aaaf373
|
F test/uri.test 53de9a2549cbda9c343223236918ef502f6a9051
|
||||||
F test/utf16align.test 54cd35a27c005a9b6e7815d887718780b6a462ae
|
F test/utf16align.test 54cd35a27c005a9b6e7815d887718780b6a462ae
|
||||||
F test/vacuum.test 29b60e8cc9e573b39676df6c4a75fe9e02d04a09
|
F test/vacuum.test 29b60e8cc9e573b39676df6c4a75fe9e02d04a09
|
||||||
F test/vacuum2.test 91a84c9b08adfc4472097d2e8deb0150214e0e76
|
F test/vacuum2.test 91a84c9b08adfc4472097d2e8deb0150214e0e76
|
||||||
@ -938,7 +938,7 @@ F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
|
|||||||
F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
|
F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
|
||||||
F tool/split-sqlite3c.tcl d9be87f1c340285a3e081eb19b4a247981ed290c
|
F tool/split-sqlite3c.tcl d9be87f1c340285a3e081eb19b4a247981ed290c
|
||||||
F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
|
F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
|
||||||
P 97fcd9e88891abd44037004e47862bcecfa1b0c9
|
P 3e8a29ff8953054cb3b88db5997b5bae38ba09dd
|
||||||
R dfc39482dc1485cfb422ba7a47f95a18
|
R 5fea414460a5e5fa1ee92fc36723f05a
|
||||||
U drh
|
U drh
|
||||||
Z 170a5ac08de306ec947114fc9ba724a8
|
Z c112edb8a27a2fc78ca0bd2c77513025
|
||||||
|
@ -1 +1 @@
|
|||||||
3e8a29ff8953054cb3b88db5997b5bae38ba09dd
|
2018d4e108872f2436df046636401b89cfde589d
|
@ -46,7 +46,7 @@ foreach {tn uri file} {
|
|||||||
11 file file
|
11 file file
|
||||||
12 http:test.db http:test.db
|
12 http:test.db http:test.db
|
||||||
13 file:test.db%00extra test.db
|
13 file:test.db%00extra test.db
|
||||||
14 file:test%00.db%00extra test
|
14 file:testdb%00.db%00extra testdb
|
||||||
|
|
||||||
15 test.db?mork=1#boris test.db?mork=1#boris
|
15 test.db?mork=1#boris test.db?mork=1#boris
|
||||||
16 file://localhostPWD/test.db%3Fhello test.db?hello
|
16 file://localhostPWD/test.db%3Fhello test.db?hello
|
||||||
@ -59,6 +59,7 @@ foreach {tn uri file} {
|
|||||||
set uri [string map [list PWD [pwd]] $uri]
|
set uri [string map [list PWD [pwd]] $uri]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if {[file isdir $file]} {error "$file is a directory"}
|
||||||
forcedelete $file
|
forcedelete $file
|
||||||
do_test 1.$tn.1 { file exists $file } 0
|
do_test 1.$tn.1 { file exists $file } 0
|
||||||
set DB [sqlite3_open $uri]
|
set DB [sqlite3_open $uri]
|
||||||
@ -90,9 +91,9 @@ foreach {tn uri kvlist} {
|
|||||||
3 file:test.db?hello=1&world=2&vfs=tvfs {hello 1 world 2 vfs tvfs}
|
3 file:test.db?hello=1&world=2&vfs=tvfs {hello 1 world 2 vfs tvfs}
|
||||||
4 file:test.db?hello=1&world=2&vfs=tvfs2 {}
|
4 file:test.db?hello=1&world=2&vfs=tvfs2 {}
|
||||||
5 file:test.db?%68%65%6C%6C%6F=%77%6F%72%6C%64 {hello world}
|
5 file:test.db?%68%65%6C%6C%6F=%77%6F%72%6C%64 {hello world}
|
||||||
6 file:test%00.db?hello%00extra=world%00ex {hello world}
|
6 file:testdb%00.db?hello%00extra=world%00ex {hello world}
|
||||||
7 file:test%00.db?hello%00=world%00 {hello world}
|
7 file:testdb%00.db?hello%00=world%00 {hello world}
|
||||||
8 file:test%00.db?=world&xyz=abc {xyz abc}
|
8 file:testdb%00.db?=world&xyz=abc {xyz abc}
|
||||||
9 file:test.db?%00hello=world&xyz=abc {xyz abc}
|
9 file:test.db?%00hello=world&xyz=abc {xyz abc}
|
||||||
10 file:test.db?hello=%00world&xyz= {hello {} xyz {}}
|
10 file:test.db?hello=%00world&xyz= {hello {} xyz {}}
|
||||||
11 file:test.db?=#ravada {}
|
11 file:test.db?=#ravada {}
|
||||||
|
Reference in New Issue
Block a user