Fix various problems in test scripts preventing "make test" from passing on
F2FS file-systems with the "atomic-write" feature. FossilOrigin-Name: 56d93d070d6b92d8a5a3fec1b09aae8911116c73d072fc5022f0b51668ed996b
This commit is contained in:
+6
-1
@@ -22,7 +22,12 @@ source $testdir/tester.tcl
|
||||
# These tests will not work on windows because windows uses
|
||||
# manditory file locking which breaks the copy_file command.
|
||||
#
|
||||
if {$tcl_platform(platform)=="windows"} {
|
||||
# Or with atomic_batch_write systems, as journal files are
|
||||
# not created.
|
||||
#
|
||||
if {$tcl_platform(platform)=="windows"
|
||||
|| [atomic_batch_write test.db]
|
||||
} {
|
||||
finish_test
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user