diff options
Diffstat (limited to 'tests/io.test')
-rw-r--r-- | tests/io.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/io.test b/tests/io.test index 56be76b..de7cb3a 100644 --- a/tests/io.test +++ b/tests/io.test @@ -12,7 +12,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: io.test,v 1.63 2004/10/31 21:24:07 dgp Exp $ +# RCS: @(#) $Id: io.test,v 1.64 2004/11/11 01:16:06 das Exp $ if {[catch {package require tcltest 2}]} { puts stderr "Skipping tests in [info script]. tcltest 2 required." @@ -414,7 +414,7 @@ test io-6.6 {Tcl_GetsObj: loop test} { test io-6.7 {Tcl_GetsObj: error in input} {stdio openpipe} { # if (FilterInputBytes(chanPtr, &gs) != 0) - set f [open "|[list [interpreter] cat]" w+] + set f [open "|[list [interpreter] $path(cat)]" w+] puts -nonewline $f "hi\nwould" flush $f gets $f @@ -5150,7 +5150,7 @@ test io-40.3 {POSIX open access modes: CREAT} {unix umask} { file delete $path(test3) set f [open $path(test3) {WRONLY CREAT}] close $f - file stat test3 stats + file stat $path(test3) stats format "0%o" [expr $stats(mode)&0777] } [format %04o [expr {0666 & ~ $umaskValue}]] test io-40.4 {POSIX open access modes: CREAT} { |