summaryrefslogtreecommitdiffstats
path: root/tests/fileName.test
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2009-08-19 17:30:06 (GMT)
committerdgp <dgp@noemail.net>2009-08-19 17:30:06 (GMT)
commit1429fdbdf0e4ab8a591ae45ed006b956a28b9a77 (patch)
tree8d2292248b02ec9d5bfb25eed4a0c6b74504e9f5 /tests/fileName.test
parent009028688d1cb5886a0cca531aed888fa1786ed4 (diff)
downloadtcl-1429fdbdf0e4ab8a591ae45ed006b956a28b9a77.zip
tcl-1429fdbdf0e4ab8a591ae45ed006b956a28b9a77.tar.gz
tcl-1429fdbdf0e4ab8a591ae45ed006b956a28b9a77.tar.bz2
another test
FossilOrigin-Name: 9f3daf8393bb65687b76dc177ccce2562ff17d68
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 4164388..88495f2 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.62 2009/08/18 17:42:30 dgp Exp $
+# RCS: @(#) $Id: fileName.test,v 1.63 2009/08/19 17:30:07 dgp Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
@@ -1552,6 +1552,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]