diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-04-06 08:47:01 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-04-06 08:47:01 (GMT) |
commit | 14da1fa7d49f60c7ca1a74bb9018edf2c8d88c6c (patch) | |
tree | 95a427bea86dab9b55b9d474d09f8b327eeeb107 | |
parent | 2eed96f72727d081436d3f8b20a0f014bcefd078 (diff) | |
download | tcl-14da1fa7d49f60c7ca1a74bb9018edf2c8d88c6c.zip tcl-14da1fa7d49f60c7ca1a74bb9018edf2c8d88c6c.tar.gz tcl-14da1fa7d49f60c7ca1a74bb9018edf2c8d88c6c.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 Don Porter <dgp@users.sourceforge.net> * tests/tcltest.test: Corrected constraint typos: "nonRoot" -> diff --git a/tests/cmdAH.test b/tests/cmdAH.test index 51ecf99..cbd8947 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.30.2.3 2003/07/04 13:16:13 dkf Exp $ +# RCS: @(#) $Id: cmdAH.test,v 1.30.2.4 2004/04/06 08:47:01 dkf Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2.1 @@ -1064,7 +1064,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} { |