1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Fix RBU test scripts to avoid attempting to copy or delete a locked file.

FossilOrigin-Name: f25eb898fce44120136f8ee5557305f43541e8a75323cfc3becf103f3fa795aa
This commit is contained in:
dan
2023-02-06 19:00:54 +00:00
parent 41c238f03c
commit 8057fe9baa
4 changed files with 15 additions and 13 deletions

View File

@ -100,7 +100,7 @@ for {set n 1} {$n < 5000} {incr n} {
break
}
foreach f {test.db test.db-oal test.db-wal test.db-shm test.db-vacuum} {
foreach f {test.db test.db-oal test.db-wal test.db-vacuum} {
set f2 [string map [list test.db test.db2] $f]
if {[file exists $f]} {
forcecopy $f $f2
@ -159,7 +159,7 @@ for {set n 1} {$n < 5000} {incr n} {
break
}
foreach f {test.db test.db-oal test.db-wal test.db-shm test.db-vacuum} {
foreach f {test.db test.db-oal test.db-wal test.db-vacuum} {
set f2 [string map [list test.db test.db2] $f]
if {[file exists $f]} {
forcecopy $f $f2
@ -226,7 +226,7 @@ for {set n 1} {$n < 5000} {incr n} {
break
}
foreach f {test.db test.db-oal test.db-wal test.db-shm test.db-vacuum} {
foreach f {test.db test.db-oal test.db-wal test.db-vacuum} {
set f2 [string map [list test.db test.db2] $f]
if {[file exists $f]} {
forcecopy $f $f2