summaryrefslogtreecommitdiffstats
path: root/tests/io.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-03 14:39:19 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-03 14:39:19 (GMT)
commitc30f3e95690c1fa32296fb55213cb7f03ac14345 (patch)
treec0408e038d57d98337a74e64296d142d190b8dd9 /tests/io.test
parentf23698ae342e74bcedb17f24cde0f80106e14ea7 (diff)
parentc99f35416608c70d8e277b38405429a50b64bd84 (diff)
downloadtcl-c30f3e95690c1fa32296fb55213cb7f03ac14345.zip
tcl-c30f3e95690c1fa32296fb55213cb7f03ac14345.tar.gz
tcl-c30f3e95690c1fa32296fb55213cb7f03ac14345.tar.bz2
Merge 8.6
Diffstat (limited to 'tests/io.test')
-rw-r--r--tests/io.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/io.test b/tests/io.test
index 4db1d33..e0c682c 100644
--- a/tests/io.test
+++ b/tests/io.test
@@ -5655,8 +5655,8 @@ test io-40.3 {POSIX open access modes: CREAT} {unix umask} {
set f [open $path(test3) {WRONLY CREAT}]
close $f
file stat $path(test3) stats
- format "%#o" [expr $stats(mode)&0o777]
-} [format %#5o [expr {0o666 & ~ $umaskValue}]]
+ format 0o%03o [expr $stats(mode)&0o777]
+} [format 0o%03o [expr {0o666 & ~ $umaskValue}]]
test io-40.4 {POSIX open access modes: CREAT} {
file delete $path(test3)
set f [open $path(test3) w]