summaryrefslogtreecommitdiffstats
path: root/tests/fileName.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2009-08-19 17:29:06 (GMT)
committerdgp <dgp@users.sourceforge.net>2009-08-19 17:29:06 (GMT)
commit9e2afa863774403642eba857799a3b5eee58e623 (patch)
tree3ec74cbcea887575aa8ec87a856e4de15859ad5c /tests/fileName.test
parent27d38b8b120efc45ad82a2416277f6ed729e1217 (diff)
downloadtcl-9e2afa863774403642eba857799a3b5eee58e623.zip
tcl-9e2afa863774403642eba857799a3b5eee58e623.tar.gz
tcl-9e2afa863774403642eba857799a3b5eee58e623.tar.bz2
another test
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 5f13eac..591f8a4 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.7 2009/08/18 17:42:15 dgp Exp $
+# RCS: @(#) $Id: fileName.test,v 1.51.8.8 2009/08/19 17:29:06 dgp Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -1632,6 +1632,16 @@ test fileName-20.7 {Bug 2806250} -setup {
removeDirectory isolate
} -result 1
+test fileName-20.8 {Bug 2806250} -setup {
+ set d [makeDirectory isolate]
+ makeFile {} ./~test $d
+} -body {
+ file tail [lindex [glob -nocomplain isolate/*] 0]
+} -cleanup {
+ removeFile ./~test $d
+ removeDirectory isolate
+} -result ./~test
+
# cleanup
catch {file delete -force C:/globTest}
cd [temporaryDirectory]