diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-04-06 08:45:02 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-04-06 08:45:02 (GMT) |
commit | 64da53f0aba045fa5ca50497c7f40739d79d2055 (patch) | |
tree | 19a98e6ba357e7b3a961e7c484a74eb969ca4088 | |
parent | 9eb46ba0c0def7a552341ff764d3b740fd272067 (diff) | |
download | tcl-64da53f0aba045fa5ca50497c7f40739d79d2055.zip tcl-64da53f0aba045fa5ca50497c7f40739d79d2055.tar.gz tcl-64da53f0aba045fa5ca50497c7f40739d79d2055.tar.bz2 |
root interacts badly with access(...,X_OK) [Bug 929892]
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | tests/cmdAH.test | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2004-04-06 Donal K. Fellows <donal.k.fellows@man.ac.uk> + + * tests/cmdAH.test (cmdAH-18.2): Added constraint because + access(...,X_OK) is defined to be permitted to be meaningless when + running as root, and OSX exhibits this. [Bug 929892] + 2004-04-02 Miguel Sofer <msofer@users.sf.net> * generic/tclCompile.c: diff --git a/tests/cmdAH.test b/tests/cmdAH.test index 834177c..13bf01d 100644 --- a/tests/cmdAH.test +++ b/tests/cmdAH.test @@ -10,7 +10,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: cmdAH.test,v 1.38 2004/03/17 18:14:17 das Exp $ +# RCS: @(#) $Id: cmdAH.test,v 1.39 2004/04/06 08:45:04 dkf Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2.1 @@ -831,7 +831,7 @@ set gorpfile [makeFile abcde gorp.file] test cmdAH-18.1 {Tcl_FileObjCmd: executable} {testchmod} { list [catch {file executable a b} msg] $msg } {1 {wrong # args: should be "file executable name"}} -test cmdAH-18.2 {Tcl_FileObjCmd: executable} {testchmod} { +test cmdAH-18.2 {Tcl_FileObjCmd: executable} {testchmod notRoot} { file executable $gorpfile } 0 test cmdAH-18.3 {Tcl_FileObjCmd: executable} {unixOnly testchmod} { |