From f745c9aa31bbdf8f71589fa25d30ce50cad94652 Mon Sep 17 00:00:00 2001 From: hobbs Date: Wed, 12 Nov 2003 17:27:12 +0000 Subject: * 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. --- ChangeLog | 6 ++++++ tests/cmdMZ.test | 13 +++++-------- 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 + + * 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 * 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 -- cgit v0.12