summaryrefslogtreecommitdiffstats
path: root/tests/chanio.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2017-04-17 11:59:35 (GMT)
committerdgp <dgp@users.sourceforge.net>2017-04-17 11:59:35 (GMT)
commit56739b80365465180878af37675a2e8524cc1976 (patch)
treeaf096482d00f431d3b000a159e11fa8e14b24016 /tests/chanio.test
parent490e5ace3ad5f5790685e654bb03b2fe5e5d2048 (diff)
downloadtcl-56739b80365465180878af37675a2e8524cc1976.zip
tcl-56739b80365465180878af37675a2e8524cc1976.tar.gz
tcl-56739b80365465180878af37675a2e8524cc1976.tar.bz2
Repair revised tests that failed.
Diffstat (limited to 'tests/chanio.test')
-rw-r--r--tests/chanio.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/chanio.test b/tests/chanio.test
index cee2675..db2475c 100644
--- a/tests/chanio.test
+++ b/tests/chanio.test
@@ -5345,7 +5345,7 @@ test chan-io-40.2 {POSIX open access modes: CREAT} -setup {
lappend x [chan gets $f]
} -cleanup {
chan close $f
-} -result {0o600 {line 1}}
+} -result {0600 {line 1}}
test chan-io-40.3 {POSIX open access modes: CREAT} -setup {
file delete $path(test3)
} -constraints {unix umask} -body {
@@ -5353,7 +5353,7 @@ test chan-io-40.3 {POSIX open access modes: CREAT} -setup {
chan close [open $path(test3) {WRONLY CREAT}]
file stat $path(test3) stats
format "%#o" [expr $stats(mode)&0o777]
-} -result [format %#5o [expr {0o666 & ~ $umaskValue}]]
+} -result [format %#4o [expr {0o666 & ~ $umaskValue}]]
test chan-io-40.4 {POSIX open access modes: CREAT} -setup {
file delete $path(test3)
} -body {