summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2009-08-18 17:42:15 (GMT)
committerdgp <dgp@users.sourceforge.net>2009-08-18 17:42:15 (GMT)
commit8a3f027d4f21bdaa43a74ea62681b4082864e219 (patch)
tree3b8fe04eb9b3438b099faebcd635ad74a2f55b95 /tests
parentb3ddbca7d418161af50288b0d8e33caeccac7286 (diff)
downloadtcl-8a3f027d4f21bdaa43a74ea62681b4082864e219.zip
tcl-8a3f027d4f21bdaa43a74ea62681b4082864e219.tar.gz
tcl-8a3f027d4f21bdaa43a74ea62681b4082864e219.tar.bz2
test for 2806250
Diffstat (limited to 'tests')
-rw-r--r--tests/fileName.test12
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/fileName.test b/tests/fileName.test
index 25c09ea..5f13eac 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.51.8.6 2009/08/18 16:27:20 dgp Exp $
+# RCS: @(#) $Id: fileName.test,v 1.51.8.7 2009/08/18 17:42:15 dgp Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -1622,6 +1622,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]