summaryrefslogtreecommitdiffstats
path: root/tests/exec.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2004-10-28 00:00:44 (GMT)
committerdgp <dgp@users.sourceforge.net>2004-10-28 00:00:44 (GMT)
commita14bdc48c4532a37815b152288fc311def3ea802 (patch)
treede4836ab7ed361708adf24ebcd065196160d1c0a /tests/exec.test
parent4be4200c00d20a630a3a8cadb0ebedaaf481b26f (diff)
downloadtcl-a14bdc48c4532a37815b152288fc311def3ea802.zip
tcl-a14bdc48c4532a37815b152288fc311def3ea802.tar.gz
tcl-a14bdc48c4532a37815b152288fc311def3ea802.tar.bz2
* tests/appendComp.test: Backport test suite fixes of errors
* tests/autoMkindex.test: revealed by -singleproc 1 -debug 1 * tests/exec.test: options to make test. * tests/execute.test: * tests/interp.test: * tests/io.test: * tests/namespace.test: * tests/regexpComp.test: * tests/stringComp.test: * tests/unixInit.test: * tests/winPipe.test:
Diffstat (limited to 'tests/exec.test')
-rw-r--r--tests/exec.test5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/exec.test b/tests/exec.test
index e5c9bf7..3613cba 100644
--- a/tests/exec.test
+++ b/tests/exec.test
@@ -11,7 +11,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: exec.test,v 1.16.2.3 2004/07/02 23:37:31 hobbs Exp $
+# RCS: @(#) $Id: exec.test,v 1.16.2.4 2004/10/28 00:01:06 dgp Exp $
package require tcltest 2
namespace import -force ::tcltest::*
@@ -19,7 +19,7 @@ namespace import -force ::tcltest::*
# All tests require the "exec" command.
# Skip them if exec is not defined.
testConstraint exec [llength [info commands exec]]
-catch {unset path}
+unset -nocomplain path
set path(echo) [makeFile {
puts -nonewline [lindex $argv 0]
foreach str [lrange $argv 1 end] {
@@ -605,6 +605,7 @@ test exec-18.1 { exec cat deals with weird file names} {exec tempNotWin} {
foreach file {script gorp.file gorp.file2 echo cat wc sh sleep exit err} {
removeFile $file
}
+unset -nocomplain path
::tcltest::cleanupTests
return