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

Unified Diff: third_party/sqlite/src/test/journal3.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/journal2.test ('k') | third_party/sqlite/src/test/jrnlmode.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/journal3.test
diff --git a/third_party/sqlite/src/test/journal3.test b/third_party/sqlite/src/test/journal3.test
index 7d2972220247bb5c55fb3e5c78cd8463a8068a9f..939cc27c7084b029a8173d69e9881b5b5bcd2609 100644
--- a/third_party/sqlite/src/test/journal3.test
+++ b/third_party/sqlite/src/test/journal3.test
@@ -22,7 +22,9 @@ source $testdir/malloc_common.tcl
#
if {$::tcl_platform(platform) == "unix"} {
- set umask [exec /bin/sh -c umask]
+ # Changed on 2012-02-13: umask is deliberately ignored for -wal, -journal,
+ # and -shm files.
+ #set umask [exec /bin/sh -c umask]
faultsim_delete_and_reopen
do_test journal3-1.1 { execsql { CREATE TABLE tx(y, z) } } {}
@@ -33,9 +35,10 @@ if {$::tcl_platform(platform) == "unix"} {
4 00755
} {
db close
- set effective [format %.5o [expr $permissions & ~$umask]]
+ #set effective [format %.5o [expr $permissions & ~$umask]]
+ set effective $permissions
do_test journal3-1.2.$tn.1 {
- catch { file delete -force test.db-journal }
+ catch { forcedelete test.db-journal }
file attributes test.db -permissions $permissions
file attributes test.db -permissions
} $permissions
« no previous file with comments | « third_party/sqlite/src/test/journal2.test ('k') | third_party/sqlite/src/test/jrnlmode.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698