]> git.saurik.com Git - redis.git/blobdiff - test/support/tmpfile.tcl
minor fixes to the new test suite, html doc updated
[redis.git] / test / support / tmpfile.tcl
diff --git a/test/support/tmpfile.tcl b/test/support/tmpfile.tcl
deleted file mode 100644 (file)
index 7123c91..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-set ::tmpcounter 0
-set ::tmproot "./test/tmp"
-file mkdir $::tmproot
-
-# returns a dirname unique to this process to write to
-proc tmpdir {basename} {
-    set dir [file join $::tmproot $basename.[pid].[incr ::tmpcounter]]
-    file mkdir $dir
-    set _ $dir
-}
-
-# return a filename unique to this process to write to
-proc tmpfile {basename} {
-    file join $::tmproot $basename.[pid].[incr ::tmpcounter]
-}