1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Use the new test suite helper procedure 'get_pwd' to query the current directory from tests.

FossilOrigin-Name: 1dd01e408161f5c1ab6b4fd449bee147d7e00744
This commit is contained in:
mistachkin
2012-05-22 19:25:51 +00:00
parent ba67e31752
commit 86ab48fcfc
3 changed files with 9 additions and 9 deletions

View File

@ -283,7 +283,7 @@ 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 [pwd] 0 10]].*/"
} "/0 +.*main +[string map {/ .} [string range [get_pwd] 0 10]].*/"
do_test shell1-3.3.2 {
# too many arguments
catchcmd "test.db" ".databases BAD"