summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorhershey <hershey>1999-06-09 17:06:00 (GMT)
committerhershey <hershey>1999-06-09 17:06:00 (GMT)
commitcfa9255fae1576995145b97772903013557ef245 (patch)
treea666e838e4a0e8821acb56fe24bf7d0227b29e73 /tests
parent3ccb7bcea57d471e2e1fc8ca439afda1fa8bc672 (diff)
downloadtcl-cfa9255fae1576995145b97772903013557ef245.zip
tcl-cfa9255fae1576995145b97772903013557ef245.tar.gz
tcl-cfa9255fae1576995145b97772903013557ef245.tar.bz2
unset the variable "u" whose initial value could affect test passage.
Diffstat (limited to 'tests')
-rw-r--r--tests/io.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/io.test b/tests/io.test
index 620bc48..aba370b 100644
--- a/tests/io.test
+++ b/tests/io.test
@@ -12,7 +12,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: io.test,v 1.7 1999/04/16 00:47:29 stanton Exp $
+# RCS: @(#) $Id: io.test,v 1.8 1999/06/09 17:06:00 hershey Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
source [file join [pwd] [file dirname [info script]] defs.tcl]
@@ -29,6 +29,8 @@ if {"[info commands testchannel]" != "testchannel"} {
removeFile test1
removeFile pipe
+catch {unset u}
+
# set up a long data file for some of the following tests
set f [open longfile w]