diff options
author | dgp <dgp@users.sourceforge.net> | 2006-03-20 14:24:09 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2006-03-20 14:24:09 (GMT) |
commit | fe8cfd7fccfd0c39bd50ac44e0902db6b11bc6ea (patch) | |
tree | 97b891176ba6efaf7f2ec5f06c082c4e2b09a5dd | |
parent | f1afa0eb4e86af95d670b91beb5dba9fe217cb68 (diff) | |
download | tcl-fe8cfd7fccfd0c39bd50ac44e0902db6b11bc6ea.zip tcl-fe8cfd7fccfd0c39bd50ac44e0902db6b11bc6ea.tar.gz tcl-fe8cfd7fccfd0c39bd50ac44e0902db6b11bc6ea.tar.bz2 |
correct [makeFile] syntax
-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} { |