aboutsummaryrefslogtreecommitdiff
path: root/test/shell1.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/shell1.test')
-rw-r--r--test/shell1.test10
1 files changed, 6 insertions, 4 deletions
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