diff options
author | das <das> | 2004-11-11 01:16:05 (GMT) |
---|---|---|
committer | das <das> | 2004-11-11 01:16:05 (GMT) |
commit | 55b2cf944b2501328926c9ea94f9036d2ce1f669 (patch) | |
tree | b66cb4de08f8e012da0ebe9996d14c67a0c34259 /tests/io.test | |
parent | 740b782d72d5891cc221997d329a66754ee437c5 (diff) | |
download | tcl-55b2cf944b2501328926c9ea94f9036d2ce1f669.zip tcl-55b2cf944b2501328926c9ea94f9036d2ce1f669.tar.gz tcl-55b2cf944b2501328926c9ea94f9036d2ce1f669.tar.bz2 |
* tests/fileName.test:
* tests/fileSystem.test:
* tests/io.test:
* tests/msgcat.test:
* tests/tcltest.test:
* tests/unixInit.test: fixed bugs causing failures when running
tests with -tmpdir arg not set to working dir.
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} { |