summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2003-11-12 17:27:12 (GMT)
committerhobbs <hobbs@noemail.net>2003-11-12 17:27:12 (GMT)
commit5fc69d66588d4203f3da93c273fcce054dc6c93d (patch)
treebc0e0bee5e0b45da0bcaf196826fb1b228a14278
parent258aa6abdbe1e15d932c1ab466ce2df046b41b13 (diff)
downloadtcl-5fc69d66588d4203f3da93c273fcce054dc6c93d.zip
tcl-5fc69d66588d4203f3da93c273fcce054dc6c93d.tar.gz
tcl-5fc69d66588d4203f3da93c273fcce054dc6c93d.tar.bz2
* tests/cmdMZ.test (cmdMZ-1.4): change to nonPortable as more
systems are using permissions caching, and this isn't really a Tcl controlled issue. FossilOrigin-Name: 0f226694e49d06b18d8405d5dc3c92758b2dd9a8
-rw-r--r--ChangeLog6
-rw-r--r--tests/cmdMZ.test13
2 files changed, 11 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 8e8417b..7118bba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-11-12 Jeff Hobbs <jeffh@ActiveState.com>
+
+ * tests/cmdMZ.test (cmdMZ-1.4): change to nonPortable as more
+ systems are using permissions caching, and this isn't really a Tcl
+ controlled issue.
+
2003-11-11 Jeff Hobbs <jeffh@ActiveState.com>
* unix/configure:
diff --git a/tests/cmdMZ.test b/tests/cmdMZ.test
index 2e2a978..ce4cffd 100644
--- a/tests/cmdMZ.test
+++ b/tests/cmdMZ.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: cmdMZ.test,v 1.18 2003/09/05 21:52:12 dgp Exp $
+# RCS: @(#) $Id: cmdMZ.test,v 1.19 2003/11/12 17:27:13 hobbs Exp $
if {[catch {package require tcltest 2.0.2}]} {
puts stderr "Skipping tests in [info script]. tcltest 2.0.2 required."
@@ -25,9 +25,6 @@ namespace eval ::tcl::test::cmdMZ {
namespace import ::tcltest::temporaryDirectory
namespace import ::tcltest::test
-set ::tcltest::testConstraints(nonLinuxOnly) \
- [expr {![string equal Linux $tcl_platform(os)]}]
-
# Tcl_PwdObjCmd
test cmdMZ-1.1 {Tcl_PwdObjCmd} {
@@ -39,10 +36,10 @@ test cmdMZ-1.2 {Tcl_PwdObjCmd: simple pwd} {
test cmdMZ-1.3 {Tcl_PwdObjCmd: simple pwd} {
expr [string length pwd]>0
} 1
-test cmdMZ-1.4 {Tcl_PwdObjCmd: failure} {unixOnly nonLinuxOnly} {
- # We don't want this test to run on Linux because they do a
- # permissions caching trick which causes this to fail. The
- # caching is incorrect, but we have no control over that.
+test cmdMZ-1.4 {Tcl_PwdObjCmd: failure} {unixOnly nonPortable} {
+ # This test fails on various unix platforms (eg Linux) where
+ # permissions caching causes this to fail. The caching is strictly
+ # incorrect, but we have no control over that.
set foodir [file join [temporaryDirectory] foo]
file delete -force $foodir
file mkdir $foodir