diff options
author | dgp <dgp@users.sourceforge.net> | 2014-11-03 20:54:12 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-11-03 20:54:12 (GMT) |
commit | 5a0bdb1baf6c35b490aa2d34d5ea5aec3ae66831 (patch) | |
tree | 02a53669abb63933d41502ab5ab8be25d962b193 /tests | |
parent | c40bcd39bfbe1d61ef75fd3cc9a6604b6cd20193 (diff) | |
parent | bce5edef8b197d622f6f22b25021afd987743698 (diff) | |
download | tcl-5a0bdb1baf6c35b490aa2d34d5ea5aec3ae66831.zip tcl-5a0bdb1baf6c35b490aa2d34d5ea5aec3ae66831.tar.gz tcl-5a0bdb1baf6c35b490aa2d34d5ea5aec3ae66831.tar.bz2 |
merge 8.5
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fileSystem.test | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/fileSystem.test b/tests/fileSystem.test index 161ebc3..c255b1e 100644 --- a/tests/fileSystem.test +++ b/tests/fileSystem.test @@ -708,6 +708,9 @@ test filesystem-6.32 {empty file name} { test filesystem-6.33 {empty file name} { list [catch {file writable ""} msg] $msg } {0 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]} { |