diff options
author | dgp <dgp@users.sourceforge.net> | 2009-08-19 17:27:51 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2009-08-19 17:27:51 (GMT) |
commit | c7f320bf237ff2e5d0db130e208490a094f66906 (patch) | |
tree | fd1756bf6c439dd6ad479ec5e3381e8d634c3090 /tests | |
parent | 637ae9db9c52f12b1881443d04b3e44d91f11431 (diff) | |
download | tcl-c7f320bf237ff2e5d0db130e208490a094f66906.zip tcl-c7f320bf237ff2e5d0db130e208490a094f66906.tar.gz tcl-c7f320bf237ff2e5d0db130e208490a094f66906.tar.bz2 |
another test
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 e4fbda8..149eab5 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.14 2009/08/18 17:41:46 dgp Exp $ +# RCS: @(#) $Id: fileName.test,v 1.30.2.15 2009/08/19 17:27:51 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -2106,6 +2106,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] |