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

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

Issue 949043002: Add //third_party/sqlite to dirs_to_snapshot, remove net_sql.patch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
« no previous file with comments | « third_party/sqlite/src/test/walbak.test ('k') | third_party/sqlite/src/test/walcksum.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « third_party/sqlite/src/test/walbak.test ('k') | third_party/sqlite/src/test/walcksum.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698