summaryrefslogtreecommitdiffstats
path: root/library/tcltest
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2004-03-17 19:29:41 (GMT)
committerdgp <dgp@users.sourceforge.net>2004-03-17 19:29:41 (GMT)
commitffa58c2b26dfdfa393cbd383ce80469028c497c1 (patch)
treeb9f97a5eb958c59139491dc030248856cf330e7a /library/tcltest
parent60a59c56d556992340418492d2e3c9fe568b83c0 (diff)
downloadtcl-ffa58c2b26dfdfa393cbd383ce80469028c497c1.zip
tcl-ffa58c2b26dfdfa393cbd383ce80469028c497c1.tar.gz
tcl-ffa58c2b26dfdfa393cbd383ce80469028c497c1.tar.bz2
Reverted changes to tcltest so that it can still support Mac when
copied to Mac systems (only requires Tcl 8.3).
Diffstat (limited to 'library/tcltest')
-rw-r--r--library/tcltest/tcltest.tcl5
1 files changed, 4 insertions, 1 deletions
diff --git a/library/tcltest/tcltest.tcl b/library/tcltest/tcltest.tcl
index 4a36a38..d037fd3 100644
--- a/library/tcltest/tcltest.tcl
+++ b/library/tcltest/tcltest.tcl
@@ -16,7 +16,7 @@
# Contributions from Don Porter, NIST, 2002. (not subject to US copyright)
# All rights reserved.
#
-# RCS: @(#) $Id: tcltest.tcl,v 1.88 2004/03/17 18:14:14 das Exp $
+# RCS: @(#) $Id: tcltest.tcl,v 1.89 2004/03/17 19:29:42 dgp Exp $
package require Tcl 8.3 ;# uses [glob -directory]
namespace eval tcltest {
@@ -1263,6 +1263,9 @@ proc tcltest::DefineConstraintInitializers {} {
ConstraintInitializer unixExecs {
set code 1
+ if {[string equal macintosh $::tcl_platform(platform)]} {
+ set code 0
+ }
if {[string equal windows $::tcl_platform(platform)]} {
if {[catch {
set file _tcl_test_remove_me.txt