Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: third_party/sqlite/src/test/walbig.test

Issue 901033002: Import SQLite 3.8.7.4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Chromium changes to support SQLite 3.8.7.4. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698