mirror of
https://github.com/glebarez/go-sqlite.git
synced 2025-10-04 07:26:28 +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:
@@ -628,6 +628,13 @@ outer:
|
||||
t.Fatalf("%s\n%v", out, err)
|
||||
}
|
||||
|
||||
// just remove it so we don't get a
|
||||
// file busy race-condition
|
||||
// when we spin up the next script
|
||||
if runtime.GOOS == "windows" {
|
||||
_ = os.Remove("db")
|
||||
}
|
||||
|
||||
a := strings.Split(string(out), "\n")
|
||||
for _, v := range a {
|
||||
if strings.HasPrefix(v, "Summary:") {
|
||||
|
Reference in New Issue
Block a user