summaryrefslogtreecommitdiffstats
path: root/third_party/sqlite/test/async3.test
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/sqlite/test/async3.test')
-rw-r--r--third_party/sqlite/test/async3.test14
1 files changed, 8 insertions, 6 deletions
diff --git a/third_party/sqlite/test/async3.test b/third_party/sqlite/test/async3.test
index c45ab32..77c4d55 100644
--- a/third_party/sqlite/test/async3.test
+++ b/third_party/sqlite/test/async3.test
@@ -13,12 +13,12 @@
# Specifically, it tests that the xFullPathname() method of
# of the asynchronous vfs works correctly.
#
-# $Id: async3.test,v 1.3 2007/11/05 17:01:08 danielk1977 Exp $
+# $Id: async3.test,v 1.5 2009/04/25 08:39:15 danielk1977 Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
-if { [info commands sqlite3async_enable]=="" } {
+if { [info commands sqlite3async_initialize]=="" } {
# The async logic is not built into this system
puts "Skipping async3 tests: not compiled with required features"
finish_test
@@ -26,7 +26,8 @@ if { [info commands sqlite3async_enable]=="" } {
}
db close
-sqlite3async_enable 1
+sqlite3async_initialize "" 1
+#set sqlite3async_trace 1
sqlite3async_start
set paths {
@@ -67,8 +68,9 @@ foreach p $paths {
}
db close
-sqlite3async_halt idle
+
+sqlite3async_control halt idle
sqlite3async_wait
-sqlite3async_halt never
-sqlite3async_enable 0
+sqlite3async_control halt never
+sqlite3async_shutdown
finish_test