summaryrefslogtreecommitdiffstats
path: root/tests/ioCmd.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2018-01-25 21:28:41 (GMT)
committerdgp <dgp@users.sourceforge.net>2018-01-25 21:28:41 (GMT)
commit19c01427417c7773a8809a3c9f0f681e751d583e (patch)
treeee4ed558a6facc969f0c2d538fa9d9b2518c6e06 /tests/ioCmd.test
parentaa4c4019527bd1869512b185f593eae22f342527 (diff)
parent189d0a83d2df3b9f47e30232bdf377d4daeaba2b (diff)
downloadtcl-19c01427417c7773a8809a3c9f0f681e751d583e.zip
tcl-19c01427417c7773a8809a3c9f0f681e751d583e.tar.gz
tcl-19c01427417c7773a8809a3c9f0f681e751d583e.tar.bz2
lifetime management of files generated by tests
Diffstat (limited to 'tests/ioCmd.test')
-rw-r--r--tests/ioCmd.test5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/ioCmd.test b/tests/ioCmd.test
index cd89a02..b4ba04a 100644
--- a/tests/ioCmd.test
+++ b/tests/ioCmd.test
@@ -384,7 +384,6 @@ test iocmd-10.5 {fblocked command} {
set path(test4) [makeFile {} test4]
set path(test5) [makeFile {} test5]
-file delete $path(test5)
test iocmd-11.1 {I/O to command pipelines} {unixOrPc unixExecs} {
set f [open $path(test4) w]
close $f
@@ -3836,8 +3835,6 @@ foreach file [list test1 test2 test3 test4] {
}
# delay long enough for background processes to finish
after 500
-foreach file [list test5] {
- removeFile $file
-}
+removeFile test5
cleanupTests
return