makeDirectory dir.file
makeFile 12345 [file join dir.file gorp.file]
}
-test cmdAH-19.4 {Tcl_FileObjCmd: exists} {
+test cmdAH-19.4 {Tcl_FileObjCmd: exists} {fsIsWritable} {
file exists gorp.file
} 1
-test cmdAH-19.5 {Tcl_FileObjCmd: exists} {
+test cmdAH-19.5 {Tcl_FileObjCmd: exists} {fsIsWritable} {
file exists [file join dir.file gorp.file]
} 1
catch {testsetplatform $platform}
file delete gorp.file
-makeFile "Test string" gorp.file
+catch {makeFile "Test string" gorp.file}
catch {exec chmod 765 gorp.file}
# atime
-set file [makeFile "data" touch.me]
+catch {set file [makeFile "data" touch.me]}
test cmdAH-20.1 {Tcl_FileObjCmd: atime} {
list [catch {file atime a b c} msg] $msg
# mtime
-set file [makeFile "data" touch.me]
+catch {set file [makeFile "data" touch.me]}
test cmdAH-24.1 {Tcl_FileObjCmd: mtime} {
list [catch {file mtime a b c} msg] $msg
# stat
catch {testsetplatform $platform}
-makeFile "Test string" gorp.file
+catch {makeFile "Test string" gorp.file}
catch {exec chmod 765 gorp.file}
test cmdAH-28.1 {Tcl_FileObjCmd: stat} {
lsort [file channels std*]
} [lsort {stdout stderr stdin}]
+set newFileId ""
+
test cmdAH-31.5.0 {Tcl_FileObjCmd: channels} {fsIsWritable} {
catch {set newFileId [open gorp.file w]}
} {0}