summaryrefslogtreecommitdiffstats
path: root/tests/unixInit.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2004-02-25 23:38:14 (GMT)
committerdgp <dgp@users.sourceforge.net>2004-02-25 23:38:14 (GMT)
commitef0b541994832ec80dd874d09c0887d2f55716aa (patch)
tree3ebec546b31e48e9389e4c0bc0a55927e5a295e6 /tests/unixInit.test
parent55a84d83113bfd6b1c28779a61f92ea760695a96 (diff)
downloadtcl-ef0b541994832ec80dd874d09c0887d2f55716aa.zip
tcl-ef0b541994832ec80dd874d09c0887d2f55716aa.tar.gz
tcl-ef0b541994832ec80dd874d09c0887d2f55716aa.tar.bz2
* tests/basic.test: Made several tests more robust to the
* tests/cmdMZ.test: list-quoting of path names that might * tests/exec.test: contain Tcl-special chars like { or [. * tests/io.test: Should help us sort out Tcl Bug 554068. * tests/pid.test: * tests/socket.test: * tests/source.test: * tests/unixInit.test:
Diffstat (limited to 'tests/unixInit.test')
-rw-r--r--tests/unixInit.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unixInit.test b/tests/unixInit.test
index 27f10b9..8560a1e 100644
--- a/tests/unixInit.test
+++ b/tests/unixInit.test
@@ -10,7 +10,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: unixInit.test,v 1.30.2.5 2004/02/18 01:30:14 hobbs Exp $
+# RCS: @(#) $Id: unixInit.test,v 1.30.2.6 2004/02/25 23:38:17 dgp Exp $
package require tcltest 2
namespace import -force ::tcltest::*
@@ -359,10 +359,10 @@ test unixInit-7.1 {closed standard channel: Bug 772288} -constraints {
} -body {
set tclsh [interpreter]
makeFile {puts [open /dev/null]} crash.tcl
- makeFile [subst -nocommands {
+ makeFile "
close stdin
- exec $tclsh crash.tcl
- }] crashtest.tcl
+ [list exec $tclsh crash.tcl]
+ " crashtest.tcl
exec $tclsh crashtest.tcl
} -cleanup {
removeFile crash.tcl