X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/5e1d2d30f7b96c0aa808f8c6f9b267880c6097ca..5513397de7526f0e5e01c1d29a37813008703d6d:/tests/support/tmpfile.tcl?ds=sidebyside diff --git a/tests/support/tmpfile.tcl b/tests/support/tmpfile.tcl index 287b0931..809f5873 100644 --- a/tests/support/tmpfile.tcl +++ b/tests/support/tmpfile.tcl @@ -4,13 +4,7 @@ file mkdir $::tmproot # returns a dirname unique to this process to write to proc tmpdir {basename} { - if {$::diskstore} { - # For diskstore we want to use the same dir again and again - # otherwise everything is too slow. - set dir [file join $::tmproot $basename.diskstore] - } else { - set dir [file join $::tmproot $basename.[pid].[incr ::tmpcounter]] - } + set dir [file join $::tmproot $basename.[pid].[incr ::tmpcounter]] file mkdir $dir set _ $dir }