summaryrefslogtreecommitdiffstats
path: root/tests/cmdMZ.test
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2001-08-24 16:19:08 (GMT)
committerdgp <dgp@noemail.net>2001-08-24 16:19:08 (GMT)
commitd392ebb6dda832544b647edbf0a20d3b74d2c6f9 (patch)
tree83a2c71e82588b352db0685f3f7eeaa9837568b3 /tests/cmdMZ.test
parent98231ea70a2a753a798de23a560de2029c0200c1 (diff)
downloadtcl-d392ebb6dda832544b647edbf0a20d3b74d2c6f9.zip
tcl-d392ebb6dda832544b647edbf0a20d3b74d2c6f9.tar.gz
tcl-d392ebb6dda832544b647edbf0a20d3b74d2c6f9.tar.bz2
* Backport of several bug fixes from HEAD to core-8-3-1-branch
FossilOrigin-Name: a44fa8045154481ccf04a807289ab46f4020ff5a
Diffstat (limited to 'tests/cmdMZ.test')
-rw-r--r--tests/cmdMZ.test9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/cmdMZ.test b/tests/cmdMZ.test
index f3f562e..546d193 100644
--- a/tests/cmdMZ.test
+++ b/tests/cmdMZ.test
@@ -11,12 +11,14 @@
# 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.7 2000/04/10 17:18:57 ericm Exp $
+# RCS: @(#) $Id: cmdMZ.test,v 1.7.2.1 2001/08/24 16:19:10 dgp Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
namespace import -force ::tcltest::*
}
+set tcltest::testConstraints(notLinux) \
+ [expr {![string equal Linux $tcl_platform(os)]}]
# Tcl_PwdObjCmd
@@ -29,7 +31,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} {
+test cmdMZ-1.4 {Tcl_PwdObjCmd: failure} {unixOnly notLinux} {
+ # 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.
file delete -force foo
file mkdir foo
set cwd [pwd]