diff options
author | drh <drh@noemail.net> | 2016-03-24 20:55:03 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2016-03-24 20:55:03 +0000 |
commit | cb620b479783d42e637b7b54631879daa89f30f7 (patch) | |
tree | 5c8c34e08c09cd862cc742b0ed47dcb4b041c764 | |
parent | eb2329bed34ec38248e7d78ed34fc79eb9976cc2 (diff) | |
download | sqlite-cb620b479783d42e637b7b54631879daa89f30f7.tar.gz sqlite-cb620b479783d42e637b7b54631879daa89f30f7.zip |
Make test cases in shell1.test robust against TCL deciding to quote strings
using lots of backslashes.
FossilOrigin-Name: 817e93f42c09eb876421e27eb8eceb7b077cb45d
-rw-r--r-- | manifest | 14 | ||||
-rw-r--r-- | manifest.uuid | 2 | ||||
-rw-r--r-- | test/shell1.test | 10 |
3 files changed, 14 insertions, 12 deletions
@@ -1,5 +1,5 @@ -C Prevent\snegative\svalues\sof\sSQLITE_DEFAULT_CACHE_SIZE\sfrom\smaking\sSQLITE_WIN32_HEAP_INIT_SIZE\snegative. -D 2016-03-24T20:36:47.715 +C Make\stest\scases\sin\sshell1.test\srobust\sagainst\sTCL\sdeciding\sto\squote\sstrings\nusing\slots\sof\sbackslashes. +D 2016-03-24T20:55:03.263 F Makefile.in f53429fb2f313c099283659d0df6f20f932c861f F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434 F Makefile.msc df0bf9ff7f8b3f4dd9fb4cc43f92fe58f6ec5c66 @@ -1028,7 +1028,7 @@ F test/sharedA.test 0cdf1a76dfa00e6beee66af5b534b1e8df2720f5 F test/sharedB.test 16cc7178e20965d75278f410943109b77b2e645e F test/shared_err.test 2f2aee20db294b9924e81f6ccbe60f19e21e8506 F test/sharedlock.test 5ede3c37439067c43b0198f580fd374ebf15d304 -F test/shell1.test e7dac9830b7d80432be9cebfae06eff9c18675f5 +F test/shell1.test 94538224ee7b7a52952dea67d2633b358abde271 F test/shell2.test 2e7a32c9ee03c6398478637d72416d5b9ebd9777 F test/shell3.test c39453d3012a39ffec944566eca8a6bda10a2284 F test/shell4.test 69995ee1cc278eb149aa8746ce1f935f4eaf98b9 @@ -1459,7 +1459,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0 -P 6db1d1fbc6c1acc896fa635dfdc5564800502c40 -R 5e26e94cafc58d6fd55eccc4e6c637ee -U mistachkin -Z 1088b9c27d83d36a2ae2a2fd6824e14f +P e0737f5236ed3e85bd03203c880ee41b34619137 +R 203f39504a0cd47826f57431bf7289e6 +U drh +Z ba68271edf3c6755b87aa606194c0bcd diff --git a/manifest.uuid b/manifest.uuid index 1b00761a7..d8ea0b103 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -e0737f5236ed3e85bd03203c880ee41b34619137
\ No newline at end of file +817e93f42c09eb876421e27eb8eceb7b077cb45d
\ No newline at end of file diff --git a/test/shell1.test b/test/shell1.test index 1f1f3de32..b08c08ffc 100644 --- a/test/shell1.test +++ b/test/shell1.test @@ -275,12 +275,14 @@ do_test shell1-3.2.4 { # .databases List names and files of attached databases do_test shell1-3.3.1 { - catchcmd "-csv test.db" ".databases" -} "/0 +.*main +[string map {/ .} [string range [get_pwd] 0 10]].*/" + set x [catchcmd "-csv test.db" ".databases"] + set x [subst -nocommands -novariables $x] +} "/0.+main.+[string map {/ .} [string range [get_pwd] 0 10]].*/" do_test shell1-3.3.2 { # extra arguments ignored - catchcmd "test.db" ".databases BAD" -} "/0 +.*main +[string map {/ .} [string range [get_pwd] 0 10]].*/" + set x [catchcmd "test.db" ".databases BAD"] + set x [subst -nocommands -novariables $x] +} "/0.+main.+[string map {/ .} [string range [get_pwd] 0 10]].*/" # .dump ?TABLE? ... Dump the database in an SQL text format # If TABLE specified, only dump tables matching |