diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-04-11 08:23:44 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-04-11 08:23:44 (GMT) |
commit | d10806530dadbab97eca8462f1f3a881a8cdcf7a (patch) | |
tree | dfc3b46957b430685b72d2a8c327fc6be0ea9aac /tests/cmdAH.test | |
parent | c867dfd034075a466891ee7e0bb4db6a8e9be8ea (diff) | |
download | tcl-d10806530dadbab97eca8462f1f3a881a8cdcf7a.zip tcl-d10806530dadbab97eca8462f1f3a881a8cdcf7a.tar.gz tcl-d10806530dadbab97eca8462f1f3a881a8cdcf7a.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/cmdAH.test')
-rw-r--r-- | tests/cmdAH.test | 3 |
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 } {} |