summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorhobbs <hobbs>2003-11-12 17:27:12 (GMT)
committerhobbs <hobbs>2003-11-12 17:27:12 (GMT)
commitf745c9aa31bbdf8f71589fa25d30ce50cad94652 (patch)
treebc0e0bee5e0b45da0bcaf196826fb1b228a14278 /tests
parent700c11b1ef9a0e08c83686050dd88852dc04e83a (diff)
downloadtcl-f745c9aa31bbdf8f71589fa25d30ce50cad94652.zip
tcl-f745c9aa31bbdf8f71589fa25d30ce50cad94652.tar.gz
tcl-f745c9aa31bbdf8f71589fa25d30ce50cad94652.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.
Diffstat (limited to 'tests')
-rw-r--r--tests/cmdMZ.test13
1 files changed, 5 insertions, 8 deletions
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