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

Unified Diff: third_party/sqlite/src/test/main.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/lock_common.tcl ('k') | third_party/sqlite/src/test/malloc.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/main.test
diff --git a/third_party/sqlite/src/test/main.test b/third_party/sqlite/src/test/main.test
index dbf90410623d5a0a3397d4e7dbf1daf70d17882d..5bbc52b84509b901f460459c6e63ff807b81e5f6 100644
--- a/third_party/sqlite/src/test/main.test
+++ b/third_party/sqlite/src/test/main.test
@@ -301,7 +301,7 @@ ifcapable {trigger} {
if {[permutation] == ""} {
do_test main-2.0 {
catch {db close}
- file delete -force test.db
+ forcedelete test.db
set fd [open test.db w]
puts $fd hi!
close $fd
@@ -314,16 +314,16 @@ if {[permutation] == ""} {
#
do_test main-3.1 {
catch {db close}
- foreach f [glob -nocomplain testdb/*] {file delete -force $f}
- file delete -force testdb
+ foreach f [glob -nocomplain testdb/*] {forcedelete $f}
+ forcedelete testdb
sqlite3 db testdb
set v [catch {execsql {SELECT * from T1 where x!!5}} msg]
lappend v $msg
} {1 {unrecognized token: "!!"}}
do_test main-3.2 {
catch {db close}
- foreach f [glob -nocomplain testdb/*] {file delete -force $f}
- file delete -force testdb
+ foreach f [glob -nocomplain testdb/*] {forcedelete $f}
+ forcedelete testdb
sqlite3 db testdb
set v [catch {execsql {SELECT * from T1 where ^x}} msg]
lappend v $msg
@@ -442,8 +442,8 @@ do_test main-3.2.30 {
do_test main-3.3 {
catch {db close}
- foreach f [glob -nocomplain testdb/*] {file delete -force $f}
- file delete -force testdb
+ foreach f [glob -nocomplain testdb/*] {forcedelete $f}
+ forcedelete testdb
sqlite3 db testdb
execsql {
create table T1(X REAL); /* C-style comments allowed */
« no previous file with comments | « third_party/sqlite/src/test/lock_common.tcl ('k') | third_party/sqlite/src/test/malloc.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698