Fix the test script --binarylog option. (CVS 5401)

FossilOrigin-Name: 03e3cfc4ccab3c6441d41ade175dc041b8fa6c98
This commit is contained in:
danielk1977
2008-07-12 15:55:54 +00:00
parent e8f52c5089
commit 185eac95b6
6 changed files with 34 additions and 27 deletions
+9 -7
View File
@@ -11,7 +11,7 @@
# This file implements regression tests for SQLite library. The
# focus of this script testing the callback-free C/C++ API.
#
# $Id: capi3.test,v 1.66 2008/07/07 13:32:00 drh Exp $
# $Id: capi3.test,v 1.67 2008/07/12 15:55:55 danielk1977 Exp $
#
set testdir [file dirname $argv0]
@@ -1186,11 +1186,13 @@ do_test capi3-19.1 {
# Tests of the interface when no VFS is registered.
#
db close
vfs_unregister_all
do_test capi3-20.1 {
sqlite3_sleep 100
} {0}
vfs_reregister_all
if {![info exists tester_do_binarylog]} {
db close
vfs_unregister_all
do_test capi3-20.1 {
sqlite3_sleep 100
} {0}
vfs_reregister_all
}
finish_test