summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-04-11 08:23:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-04-11 08:23:44 (GMT)
commit09e3a3c56b5d44c637c6ed0593257e51461e8861 (patch)
treedfc3b46957b430685b72d2a8c327fc6be0ea9aac /tests
parentc21a540c4153d8738dadc191a3b2d6516990c108 (diff)
downloadtcl-09e3a3c56b5d44c637c6ed0593257e51461e8861.zip
tcl-09e3a3c56b5d44c637c6ed0593257e51461e8861.tar.gz
tcl-09e3a3c56b5d44c637c6ed0593257e51461e8861.tar.bz2
Fix [3118489] for Windows only: NUL in filenames. This allows various characters to be used in win32 filenames which are normally invalid, as described here: [http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-specialchars]. The Cygwin shell can handle those same filenames as well. In other shells (cmd.exe/mSys) or on the Windows desktop the filenames will look strange, but that's all.
Diffstat (limited to 'tests')
-rw-r--r--tests/cmdAH.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/cmdAH.test b/tests/cmdAH.test
index 39e9ece..80706b6 100644
--- a/tests/cmdAH.test
+++ b/tests/cmdAH.test
@@ -141,6 +141,9 @@ test cmdAH-2.6.2 {cd} -constraints {unix nonPortable} -setup {
} -cleanup {
cd $dir
} -result {/}
+test cmdAH-2.6.3 {Tcl_CdObjCmd, bug #3118489} -constraints win -returnCodes error -body {
+ cd .\0
+} -result "couldn't change working directory to \".\0\": no such file or directory"
test cmdAH-2.7 {Tcl_ConcatObjCmd} {
concat
} {}