Index: third_party/sqlite/src/test/backup_ioerr.test |
diff --git a/third_party/sqlite/src/test/backup_ioerr.test b/third_party/sqlite/src/test/backup_ioerr.test |
index 3b5e95df50b37fd86b52b2a2bc72ff636c31eefb..ca3fd3240d778d1b6fd19b59a66ffcf7a66b9f78 100644 |
--- a/third_party/sqlite/src/test/backup_ioerr.test |
+++ b/third_party/sqlite/src/test/backup_ioerr.test |
@@ -60,7 +60,7 @@ do_test backup_ioerr-1.2 { |
} {1} |
do_test backup_ioerr-1.3 { |
db close |
- file delete -force test.db |
+ forcedelete test.db |
} {} |
# Turn off IO error simulation. |
@@ -115,7 +115,7 @@ proc clear_ioerr_simulation {} { |
# reported, then the backup process is concluded with a call to |
# backup_finish(). |
# |
-# Test that if an IO error occurs, or if one occured while updating |
+# Test that if an IO error occurs, or if one occurred while updating |
# the backup database during step 4, then the conditions listed |
# under step 3 are all true. |
# |
@@ -155,8 +155,8 @@ for {set iError 1} {$bStop == 0} {incr iError} { |
catch { ddb close } |
catch { sdb close } |
- catch { file delete -force test.db } |
- catch { file delete -force bak.db } |
+ catch { forcedelete test.db } |
+ catch { forcedelete bak.db } |
# Open the source and destination databases. |
sqlite3 sdb test.db |
@@ -214,7 +214,7 @@ for {set iError 1} {$bStop == 0} {incr iError} { |
set rc [catchsql { UPDATE t1 SET b = randstr(1000,1000) WHERE a < 50 } sdb] |
if {[lindex $rc 0] && $::sqlite_io_error_persist==0} { |
- # The IO error occured while updating the source database. In this |
+ # The IO error occurred while updating the source database. In this |
# case the backup should be able to continue. |
set rc [B step 5000] |
if { $rc != "SQLITE_IOERR_UNLOCK" } { |