/ Check-in [1dd01e40]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Use the new test suite helper procedure 'get_pwd' to query the current directory from tests.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | winrt
Files: files | file ages | folders
SHA1:1dd01e408161f5c1ab6b4fd449bee147d7e00744
User & Date: mistachkin 2012-05-22 19:25:51
Context
2012-05-31
22:12
Update several APIs to enable compilation with newer revisions of WinRT. check-in: 54de739f user: mistachkin tags: winrt
2012-05-22
19:25
Use the new test suite helper procedure 'get_pwd' to query the current directory from tests. check-in: 1dd01e40 user: mistachkin tags: winrt
17:39
Merge the 3.7.12.1 trunk changes into the WinRT branch. check-in: b9ed0b26 user: drh tags: winrt
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to test/shell1.test.

279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
  # too many arguments
  catchcmd "test.db" ".bail OFF BAD"
} {1 {Error: unknown command or invalid arguments:  "bail". Enter ".help" for help}}

# .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]].*/"
do_test shell1-3.3.2 {
  # too many arguments
  catchcmd "test.db" ".databases BAD"
} {1 {Error: unknown command or invalid arguments:  "databases". Enter ".help" for help}}

# .dump ?TABLE? ...      Dump the database in an SQL text format
#                          If TABLE specified, only dump tables matching







|







279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
  # too many arguments
  catchcmd "test.db" ".bail OFF BAD"
} {1 {Error: unknown command or invalid arguments:  "bail". Enter ".help" for help}}

# .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]].*/"
do_test shell1-3.3.2 {
  # too many arguments
  catchcmd "test.db" ".databases BAD"
} {1 {Error: unknown command or invalid arguments:  "databases". Enter ".help" for help}}

# .dump ?TABLE? ...      Dump the database in an SQL text format
#                          If TABLE specified, only dump tables matching