summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-10-13 08:02:53 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-10-13 08:02:53 (GMT)
commit25de2917f56f9c711a7f055ae07639008d5b19da (patch)
treea58f29e4cff964aee17f769085771677e64ad748
parent342434dbb71d1832d31b9bcb62228d1637e55815 (diff)
parent6596d03fedca42fc379d1a13c5c1a5c356fa1b37 (diff)
downloadtcl-25de2917f56f9c711a7f055ae07639008d5b19da.zip
tcl-25de2917f56f9c711a7f055ae07639008d5b19da.tar.gz
tcl-25de2917f56f9c711a7f055ae07639008d5b19da.tar.bz2
revert test-case change for [Bug 2935503]
-rw-r--r--ChangeLog2
-rw-r--r--tests/io.test6
2 files changed, 4 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index bd9f2d1..cbe20f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
2011-10-11 Jan Nijtmans <nijtmans@users.sf.net>
* win/tclWinFile.c: [Bug 2935503] Incorrect mode field
- * tests/io.test: returned by file stat command
+ returned by file stat command
2011-10-09 Donal K. Fellows <dkf@users.sf.net>
diff --git a/tests/io.test b/tests/io.test
index 839a309..53b85fa 100644
--- a/tests/io.test
+++ b/tests/io.test
@@ -5203,9 +5203,9 @@ test io-40.1 {POSIX open access modes: RDWR} {
close $f
set x
} {zzy abzzy}
-test io-40.2 {POSIX open access modes: CREAT} {
+test io-40.2 {POSIX open access modes: CREAT} {unix} {
file delete $path(test3)
- set f [open $path(test3) {WRONLY CREAT} 0o666]
+ set f [open $path(test3) {WRONLY CREAT} 0o600]
file stat $path(test3) stats
set x [format "0o%o" [expr $stats(mode)&0o777]]
puts $f "line 1"
@@ -5214,7 +5214,7 @@ test io-40.2 {POSIX open access modes: CREAT} {
lappend x [gets $f]
close $f
set x
-} {0o666 {line 1}}
+} {0o600 {line 1}}
test io-40.3 {POSIX open access modes: CREAT} {unix umask} {
# This test only works if your umask is 2, like ouster's.
file delete $path(test3)