summaryrefslogtreecommitdiffstats
path: root/tests/http.test
diff options
context:
space:
mode:
authorhershey <hershey@noemail.net>1999-06-08 18:06:50 (GMT)
committerhershey <hershey@noemail.net>1999-06-08 18:06:50 (GMT)
commit7d27424e446abcb4bd692f013cf0c297baf886bb (patch)
treecf8058ad6da11e50238ce7c95a83eefdef94152b /tests/http.test
parentb526f0248a7fbb746f214d0bc34619b037f9d9f9 (diff)
downloadtcl-7d27424e446abcb4bd692f013cf0c297baf886bb.zip
tcl-7d27424e446abcb4bd692f013cf0c297baf886bb.tar.gz
tcl-7d27424e446abcb4bd692f013cf0c297baf886bb.tar.bz2
added code to unset the "data" array so tests that follow can use a scalar
data var w/o having to unset it first. FossilOrigin-Name: a916ae38b531eeac8c4971f0d6fb9fde940c01dd
Diffstat (limited to 'tests/http.test')
-rw-r--r--tests/http.test7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/http.test b/tests/http.test
index c6ead8a..41ffd0b 100644
--- a/tests/http.test
+++ b/tests/http.test
@@ -12,7 +12,7 @@
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
#
-# RCS: @(#) $Id: http.test,v 1.7 1999/05/18 22:59:17 hershey Exp $
+# RCS: @(#) $Id: http.test,v 1.8 1999/06/08 18:06:51 hershey Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
source [file join [pwd] [file dirname [info script]] defs.tcl]
@@ -300,8 +300,9 @@ test http-6.1 {http::ProxyRequired} {
</body></html>"
# cleanup
-unset url
-unset port
+catch {unset url}
+catch {unset port}
+catch {unset data}
if {[info exists httpthread]} {
testthread send -async $httpthread {
testthread exit