summaryrefslogtreecommitdiffstats
path: root/tests/fileSystem.test
diff options
context:
space:
mode:
authorandreask <andreask>2014-11-06 18:38:36 (GMT)
committerandreask <andreask>2014-11-06 18:38:36 (GMT)
commit6e42c4bf10f4e275c5ae106296110a3584b4a070 (patch)
treec8ac936da5fd2bc1d67b309ab88bd64ee0ef1609 /tests/fileSystem.test
parente35f1f6d7d8f8e1bc59318735e23b34ab06d8f54 (diff)
parentf033a745db5e733d99ebc0a7895320435de1bd82 (diff)
downloadtcl-6e42c4bf10f4e275c5ae106296110a3584b4a070.zip
tcl-6e42c4bf10f4e275c5ae106296110a3584b4a070.tar.gz
tcl-6e42c4bf10f4e275c5ae106296110a3584b4a070.tar.bz2
Merged latest trunk work (especially changes to eof handling) into the RC.
Diffstat (limited to 'tests/fileSystem.test')
-rw-r--r--tests/fileSystem.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/fileSystem.test b/tests/fileSystem.test
index 942a86c..9fe4fe9 100644
--- a/tests/fileSystem.test
+++ b/tests/fileSystem.test
@@ -513,6 +513,9 @@ test filesystem-6.32 {empty file name} -returnCodes error -body {
file type ""
} -result {could not read "": no such file or directory}
test filesystem-6.33 {empty file name} {file writable ""} 0
+test filesystem-6.34 {file name with (invalid) nul character} {
+ list [catch "open foo\x00" msg] $msg
+} [list 1 "couldn't open \"foo\x00\": filename is invalid on this platform"]
# Make sure the testfilesystem hasn't been registered.
if {[testConstraint testfilesystem]} {