summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordas <das>2005-04-21 23:42:27 (GMT)
committerdas <das>2005-04-21 23:42:27 (GMT)
commit9925d5b2fcaa8ed663d1558fbf0b2227607f40e0 (patch)
treedfbb5d77e951eaf2eba1ed47fec90571567bc05f /tests
parent7661d10d9c8f7d52761d3481a52e770ba3f8b3fe (diff)
downloadtcl-9925d5b2fcaa8ed663d1558fbf0b2227607f40e0.zip
tcl-9925d5b2fcaa8ed663d1558fbf0b2227607f40e0.tar.gz
tcl-9925d5b2fcaa8ed663d1558fbf0b2227607f40e0.tar.bz2
* tests/unixInit.test (7.1): fixed failure when running tests
with -tmpdir arg not set to working dir.
Diffstat (limited to 'tests')
-rw-r--r--tests/unixInit.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unixInit.test b/tests/unixInit.test
index 20ee51e..88a9638 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.10 2004/11/19 06:29:23 das Exp $
+# RCS: @(#) $Id: unixInit.test,v 1.30.2.11 2005/04/21 23:42:28 das Exp $
package require tcltest 2
namespace import -force ::tcltest::*
@@ -367,7 +367,7 @@ test unixInit-7.1 {closed standard channel: Bug 772288} -constraints {
makeFile {puts [open /dev/null]} crash.tcl
makeFile "
close stdin
- [list exec $tclsh crash.tcl]
+ [list exec $tclsh [file join [temporaryDirectory] crash.tcl]]
" crashtest.tcl
exec $tclsh [file join [temporaryDirectory] crashtest.tcl]
} -cleanup {