diff options
author | dgp <dgp@users.sourceforge.net> | 2009-08-18 17:41:46 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2009-08-18 17:41:46 (GMT) |
commit | 889bb952f96c7062855f4865de4072159ca0eb25 (patch) | |
tree | 12e61a0bfc4e327d95f57f10120d5bf6c5bbeace /tests | |
parent | 92bff78ae9e89bd483b8c8dcf8b90b2d2abc0fc2 (diff) | |
download | tcl-889bb952f96c7062855f4865de4072159ca0eb25.zip tcl-889bb952f96c7062855f4865de4072159ca0eb25.tar.gz tcl-889bb952f96c7062855f4865de4072159ca0eb25.tar.bz2 |
test for 2806250
Diffstat (limited to 'tests')
-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 71f3e6b..e4fbda8 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.30.2.13 2009/08/18 16:27:31 dgp Exp $ +# RCS: @(#) $Id: fileName.test,v 1.30.2.14 2009/08/18 17:41:46 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -2096,6 +2096,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] |