summaryrefslogtreecommitdiff
path: root/examples/redis-unstable/tests/support/tmpfile.tcl
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2026-01-21 22:52:54 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2026-01-21 22:52:54 +0100
commitdcacc00e3750300617ba6e16eb346713f91a783a (patch)
tree38e2d4fb5ed9d119711d4295c6eda4b014af73fd /examples/redis-unstable/tests/support/tmpfile.tcl
parent58dac10aeb8f5a041c46bddbeaf4c7966a99b998 (diff)
downloadcrep-dcacc00e3750300617ba6e16eb346713f91a783a.tar.gz
Remove testing data
Diffstat (limited to 'examples/redis-unstable/tests/support/tmpfile.tcl')
-rw-r--r--examples/redis-unstable/tests/support/tmpfile.tcl15
1 files changed, 0 insertions, 15 deletions
diff --git a/examples/redis-unstable/tests/support/tmpfile.tcl b/examples/redis-unstable/tests/support/tmpfile.tcl
deleted file mode 100644
index 809f587..0000000
--- a/examples/redis-unstable/tests/support/tmpfile.tcl
+++ /dev/null
@@ -1,15 +0,0 @@
-set ::tmpcounter 0
-set ::tmproot "./tests/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]
-}