mirror of
https://github.com/glebarez/go-sqlite.git
synced 2025-10-06 00:06:56 +08:00
all_test.go - remove the temp db between scripts to prevent not quite closed/deleted/race.
malloc5.test - skip tests requiring memstats collection pager1.test - skip 2 tests in non-functional sets. snapshot_fault.test - skip test w/failing forcedelete testdata/tcl/tester.tcl - fix get_pwd to return output of 'cd'
This commit is contained in:
7
testdata/tcl/snapshot_fault.test
vendored
7
testdata/tcl/snapshot_fault.test
vendored
@@ -22,6 +22,12 @@ set testprefix snapshot_fault
|
||||
# reading a corrupt snapshot even if a second client fails while
|
||||
# checkpointing the db.
|
||||
#
|
||||
|
||||
# This test relies on a forcedelete of an open file
|
||||
# resulting in: error deleting "test.db": permission denied
|
||||
# Not possible to remove the open file
|
||||
if {$::tcl_platform(platform)!="windows"} {
|
||||
|
||||
do_faultsim_test 1.0 -prep {
|
||||
faultsim_delete_and_reopen
|
||||
sqlite3 db2 test.db
|
||||
@@ -60,6 +66,7 @@ do_faultsim_test 1.0 -prep {
|
||||
|
||||
sqlite3_snapshot_free $::snapshot
|
||||
}
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# This test is similar to the previous one. Except, after the
|
||||
|
Reference in New Issue
Block a user