diff options
-rw-r--r-- | tests/unixFCmd.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unixFCmd.test b/tests/unixFCmd.test index 0d77153..2cf71f1 100644 --- a/tests/unixFCmd.test +++ b/tests/unixFCmd.test @@ -9,7 +9,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: unixFCmd.test,v 1.22 2006/03/20 11:39:03 dkf Exp $ +# RCS: @(#) $Id: unixFCmd.test,v 1.23 2006/03/20 14:24:09 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -333,12 +333,12 @@ test unixFCmd-18.1 {Unix pwd} {nonPortable unix notRoot} { # check whether -readonly attribute is supported testConstraint readonlyAttr 0 if {$tcl_platform(platform) == "unix"} { - set f [makeFile "whatever"] + set f [makeFile "whatever" probe] catch { file attributes $f -readonly testConstraint readonlyAttr 1 } - removeFile $f + removeFile probe } test unixFCmd-19.1 {GetReadOnlyAttribute - file not found} {unix notRoot readonlyAttr} { |