summaryrefslogtreecommitdiffstats
path: root/tests/fileName.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2009-08-18 17:42:30 (GMT)
committerdgp <dgp@users.sourceforge.net>2009-08-18 17:42:30 (GMT)
commitaaf5ab291c239170c32f62ed8a800ec13b863484 (patch)
tree1c86e872aca616f62deb96cb3842046c48ce2f96 /tests/fileName.test
parent7658599bd873f2f1e5d1feabe6415aba45255203 (diff)
downloadtcl-aaf5ab291c239170c32f62ed8a800ec13b863484.zip
tcl-aaf5ab291c239170c32f62ed8a800ec13b863484.tar.gz
tcl-aaf5ab291c239170c32f62ed8a800ec13b863484.tar.bz2
test for 2806250
Diffstat (limited to 'tests/fileName.test')
-rw-r--r--tests/fileName.test12
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/fileName.test b/tests/fileName.test
index 1f2d978..4164388 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.61 2009/08/18 16:27:00 dgp Exp $
+# RCS: @(#) $Id: fileName.test,v 1.62 2009/08/18 17:42:30 dgp Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
@@ -1542,6 +1542,16 @@ test fileName-20.6 {Bug 2837800} -setup {
removeFile test ~
} -result {}
+test fileName-20.7 {Bug 2806250} -setup {
+ set d [makeDirectory isolate]
+ makeFile {} ./~test $d
+} -body {
+ file exists [lindex [glob -nocomplain isolate/*] 0]
+} -cleanup {
+ removeFile ./~test $d
+ removeDirectory isolate
+} -result 1
+
# cleanup
catch {file delete -force C:/globTest}
cd [temporaryDirectory]