diff options
author | vincentdarley <vincentdarley> | 2003-03-18 10:51:28 (GMT) |
---|---|---|
committer | vincentdarley <vincentdarley> | 2003-03-18 10:51:28 (GMT) |
commit | 546d6ca6ea71958e884437bf65cb7b2421590747 (patch) | |
tree | 4f3e6b8972cfe7e3df3b65f45acff6e48418048d /tests/cmdAH.test | |
parent | 7a9c4243ac433c65c5b5ac2b90bd788b15307548 (diff) | |
download | tcl-546d6ca6ea71958e884437bf65cb7b2421590747.zip tcl-546d6ca6ea71958e884437bf65cb7b2421590747.tar.gz tcl-546d6ca6ea71958e884437bf65cb7b2421590747.tar.bz2 |
Fixes for three filesystem problems
Diffstat (limited to 'tests/cmdAH.test')
-rw-r--r-- | tests/cmdAH.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/cmdAH.test b/tests/cmdAH.test index fe16def..9b26f8e 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 2003/01/09 10:38:32 vincentdarley Exp $ +# RCS: @(#) $Id: cmdAH.test,v 1.30.2.1 2003/03/18 10:51:31 vincentdarley Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2.1 @@ -401,7 +401,7 @@ test cmdAH-8.43 {Tcl_FileObjCmd: dirname} { set result [list [catch {file dirname ~} msg] $msg] set env(HOME) $temp set result -} {0 /home} +} [list 0 [expr {([file exists /home] && ([file type /home] == "link")) ? [file readlink /home] : "/home"}]] test cmdAH-8.44 {Tcl_FileObjCmd: dirname} { global env set temp $env(HOME) @@ -419,7 +419,7 @@ test cmdAH-8.45 {Tcl_FileObjCmd: dirname} { set result [list [catch {file dirname ~} msg] $msg] set env(HOME) $temp set result -} {0 /home} +} [list 0 [expr {([file exists /home] && ([file type /home] == "link")) ? [file readlink /home] : "/home"}]] test cmdAH-8.46 {Tcl_FileObjCmd: dirname} { global env set temp $env(HOME) |