summaryrefslogtreecommitdiffstats
path: root/tests/security.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2011-01-01 15:14:42 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2011-01-01 15:14:42 (GMT)
commit3ebd74d3d8fd0c54d15b9b41d6859595655e7205 (patch)
tree06031b0878fe01f3aa9ec4610a723046d9c4fe24 /tests/security.test
parentacda4274ef183d068941ca26ec07cf62197f323f (diff)
downloadtcl-3ebd74d3d8fd0c54d15b9b41d6859595655e7205.zip
tcl-3ebd74d3d8fd0c54d15b9b41d6859595655e7205.tar.gz
tcl-3ebd74d3d8fd0c54d15b9b41d6859595655e7205.tar.bz2
Clean up of tests and conversion to tcltest 2. Target has been to get init and
cleanup code out of the test body and into the -setup/-cleanup stanzas.
Diffstat (limited to 'tests/security.test')
-rw-r--r--tests/security.test16
1 files changed, 10 insertions, 6 deletions
diff --git a/tests/security.test b/tests/security.test
index 2549a4a..e92775e 100644
--- a/tests/security.test
+++ b/tests/security.test
@@ -1,18 +1,18 @@
# security.test --
#
-# Functionality covered: this file contains a collection of tests for the
-# auto loading and namespaces.
+# Functionality covered: this file contains a collection of tests for the auto
+# loading and namespaces.
#
-# Sourcing this file into Tcl runs the tests and generates output for
-# errors. No output means no errors were found.
+# Sourcing this file into Tcl runs the tests and generates output for errors.
+# No output means no errors were found.
#
# Copyright (c) 1997 Sun Microsystems, Inc.
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: security.test,v 1.6 2004/05/19 13:02:10 dkf Exp $
+# RCS: @(#) $Id: security.test,v 1.7 2011/01/01 15:14:43 dkf Exp $
-if {[lsearch [namespace children] ::tcltest] == -1} {
+if {"::tcltest" ni [namespace children]} {
package require tcltest
namespace import -force ::tcltest::*
}
@@ -41,3 +41,7 @@ test security-1.1 {tcl_endOfPreviousWord} {
# cleanup
::tcltest::cleanupTests
return
+
+# Local Variables:
+# mode: tcl
+# End: