1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-01 06:27:03 +03:00

Update shell1.test tests to deal with backslash escaping in TCL on Windows-style

pathnames.

FossilOrigin-Name: 219a251e182bf43376fbc8ae1ce6f77f18a1b092
This commit is contained in:
drh
2016-03-26 13:26:35 +00:00
parent 4f69540b71
commit 15707ac992
3 changed files with 9 additions and 9 deletions

View File

@ -276,11 +276,11 @@ do_test shell1-3.2.4 {
# .databases List names and files of attached databases
do_test shell1-3.3.1 {
catchcmd_collapse_space "-csv test.db" ".databases"
} "/0.+main.+[string map {/ .} [string range [get_pwd] 0 10]].*/"
} "/0.+main.+[string map {/ ".{1,2}"} [string range [get_pwd] 0 10]].*/"
do_test shell1-3.3.2 {
# extra arguments ignored
catchcmd_collapse_space "test.db" ".databases BAD"
} "/0.+main.+[string map {/ .} [string range [get_pwd] 0 10]].*/"
} "/0.+main.+[string map {/ ".{1,2}"} [string range [get_pwd] 0 10]].*/"
# .dump ?TABLE? ... Dump the database in an SQL text format
# If TABLE specified, only dump tables matching