diff options
Diffstat (limited to 'test/wal.test')
-rw-r--r-- | test/wal.test | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/wal.test b/test/wal.test index 32b2608..24ce5f8 100644 --- a/test/wal.test +++ b/test/wal.test @@ -1478,7 +1478,11 @@ foreach pgsz {512 1024 2048 4096 8192 16384 32768 65536} { # Test that when 1 or more pages are recovered from a WAL file, # sqlite3_log() is invoked to report this to the user. # -set walfile [file nativename [file join [get_pwd] test.db-wal]] +ifcapable curdir { + set walfile [file nativename [file join [get_pwd] test.db-wal]] +} else { + set walfile test.db-wal +} catch {db close} forcedelete test.db do_test wal-23.1 { |