Index: third_party/sqlite/src/test/journal1.test |
diff --git a/third_party/sqlite/src/test/journal1.test b/third_party/sqlite/src/test/journal1.test |
index a1b17b412a82de0d615f4dedaa40bb2d0185c634..c89dd2b4c9e073951c2c6af796e17f11e49a5097 100644 |
--- a/third_party/sqlite/src/test/journal1.test |
+++ b/third_party/sqlite/src/test/journal1.test |
@@ -20,7 +20,7 @@ set testdir [file dirname $argv0] |
source $testdir/tester.tcl |
# These tests will not work on windows because windows uses |
-# manditory file locking which breaks the file copy command. |
+# manditory file locking which breaks the copy_file command. |
# |
if {$tcl_platform(platform)=="windows"} { |
finish_test |
@@ -41,7 +41,7 @@ do_test journal1-1.1 { |
} 8 |
# Make changes to the database and save the journal file. |
-# Then delete the database. Replace the the journal file |
+# Then delete the database. Replace the journal file |
# and try to create a new database with the same name. The |
# old journal should not attempt to rollback into the new |
# database. |
@@ -51,13 +51,13 @@ do_test journal1-1.2 { |
BEGIN; |
DELETE FROM t1; |
} |
- file copy -force test.db-journal test.db-journal-bu |
+ forcecopy test.db-journal test.db-journal-bu |
execsql { |
ROLLBACK; |
} |
db close |
- file delete test.db |
- file copy test.db-journal-bu test.db-journal |
+ delete_file test.db |
+ copy_file test.db-journal-bu test.db-journal |
sqlite3 db test.db |
catchsql { |
SELECT * FROM sqlite_master |