Index: third_party/sqlite/src/test/walbig.test |
diff --git a/third_party/sqlite/src/test/walbig.test b/third_party/sqlite/src/test/walbig.test |
index 9ceb8ede6d58eac1c30e30e3ca197d4d049b3713..c43b7e25033b691c05eaa5638d81e3745ef60c2e 100644 |
--- a/third_party/sqlite/src/test/walbig.test |
+++ b/third_party/sqlite/src/test/walbig.test |
@@ -17,6 +17,11 @@ |
set testdir [file dirname $argv0] |
source $testdir/tester.tcl |
+ifcapable !wal { |
+ finish_test |
+ return |
+} |
+ |
# Do not use a codec for this file, as the database is manipulated using |
# external methods (the [fake_big_file] and [hexio_write] commands). |
# |
@@ -47,7 +52,7 @@ do_test walbig-1.0 { |
} {wal} |
db close |
-if {[catch {fake_big_file 5000 [pwd]/test.db}]} { |
+if {[catch {fake_big_file 5000 [get_pwd]/test.db}]} { |
puts "**** Unable to create a file larger than 5000 MB. *****" |
finish_test |
return |