summaryrefslogtreecommitdiffstats
path: root/tests/fileName.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2005-10-12 22:05:45 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2005-10-12 22:05:45 (GMT)
commit93eec628d064ab07480feea7e4afc717d4f20f70 (patch)
tree2069736e8310acbf08c84b0791afeed80adb7d09 /tests/fileName.test
parentd58ee15b712b585ddcbd4f8cdd91997404c10145 (diff)
downloadtcl-93eec628d064ab07480feea7e4afc717d4f20f70.zip
tcl-93eec628d064ab07480feea7e4afc717d4f20f70.tar.gz
tcl-93eec628d064ab07480feea7e4afc717d4f20f70.tar.bz2
Fix for [Bug 1325099]
Diffstat (limited to 'tests/fileName.test')
-rw-r--r--tests/fileName.test7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/fileName.test b/tests/fileName.test
index 979dd63..c2d870c 100644
--- a/tests/fileName.test
+++ b/tests/fileName.test
@@ -10,7 +10,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: fileName.test,v 1.48 2005/07/28 18:42:32 dgp Exp $
+# RCS: @(#) $Id: fileName.test,v 1.49 2005/10/12 22:05:46 dkf Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -1526,6 +1526,11 @@ test fileName-18.1 {windows - split ADS name correctly} {win} {
list $x $y
} {{c:/ ./c:d} c:/c:d}
+test fileName-19.1 {ensure that [Bug 1325099] stays fixed} {
+ # Any non-crashing result is OK
+ list [file exists ~//.nonexistant_file] [file exists ~///.nonexistant_file]
+} {0 0}
+
# cleanup
catch {file delete -force C:/globTest}
cd [temporaryDirectory]