diff options
author | dgp <dgp@users.sourceforge.net> | 2009-08-18 17:42:15 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2009-08-18 17:42:15 (GMT) |
commit | 27d38b8b120efc45ad82a2416277f6ed729e1217 (patch) | |
tree | 3b8fe04eb9b3438b099faebcd635ad74a2f55b95 /tests/fileName.test | |
parent | 3617c251237d1b3e5b6ff43318ca4094e1af6957 (diff) | |
download | tcl-27d38b8b120efc45ad82a2416277f6ed729e1217.zip tcl-27d38b8b120efc45ad82a2416277f6ed729e1217.tar.gz tcl-27d38b8b120efc45ad82a2416277f6ed729e1217.tar.bz2 |
test for 2806250
Diffstat (limited to 'tests/fileName.test')
-rw-r--r-- | tests/fileName.test | 12 |
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] |