From 9925d5b2fcaa8ed663d1558fbf0b2227607f40e0 Mon Sep 17 00:00:00 2001 From: das Date: Thu, 21 Apr 2005 23:42:27 +0000 Subject: * tests/unixInit.test (7.1): fixed failure when running tests with -tmpdir arg not set to working dir. --- ChangeLog | 5 +++++ tests/unixInit.test | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9cc0576..9b676f7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-04-22 Daniel Steffen + + * tests/unixInit.test (7.1): fixed failure when running tests + with -tmpdir arg not set to working dir. + 2005-04-20 Don Porter * generic/tclGet.c (Tcl_GetInt): Corrected error that did not 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 { -- cgit v0.12