summaryrefslogtreecommitdiffstats
path: root/tests/chanio.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2018-06-26 14:22:08 (GMT)
committerdgp <dgp@users.sourceforge.net>2018-06-26 14:22:08 (GMT)
commited5ed756bc5993edb110e13b90028646b413e92d (patch)
tree4701c05b55741078b03449acf08973711282aacd /tests/chanio.test
parent0839047d8bed631eeb82c7c3e26b0f13461717e6 (diff)
downloadtcl-ed5ed756bc5993edb110e13b90028646b413e92d.zip
tcl-ed5ed756bc5993edb110e13b90028646b413e92d.tar.gz
tcl-ed5ed756bc5993edb110e13b90028646b413e92d.tar.bz2
Restore lost tests.
Diffstat (limited to 'tests/chanio.test')
-rw-r--r--tests/chanio.test11
1 files changed, 4 insertions, 7 deletions
diff --git a/tests/chanio.test b/tests/chanio.test
index 492c11e..6408f50 100644
--- a/tests/chanio.test
+++ b/tests/chanio.test
@@ -13,16 +13,11 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
+# TODO: This test is likely worthless. Confirm and remove
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
- namespace import -force ::tcltest::*
}
-::tcltest::loadTestedCommands
-catch [list package require -exact Tcltest [info patchlevel]]
-
-testConstraint testbytestring [llength [info commands testbytestring]]
-
namespace eval ::tcl::test::io {
namespace import ::tcltest::*
@@ -35,9 +30,11 @@ namespace eval ::tcl::test::io {
variable msg
variable expected
- ::tcltest::loadTestedCommands
+ loadTestedCommands
catch [list package require -exact Tcltest [info patchlevel]]
+ package require tcltests
+ testConstraint testbytestring [llength [info commands testbytestring]]
testConstraint testchannel [llength [info commands testchannel]]
testConstraint openpipe 1
testConstraint testfevent [llength [info commands testfevent]]