diff options
author | dgp <dgp@users.sourceforge.net> | 2002-05-08 05:51:05 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2002-05-08 05:51:05 (GMT) |
commit | 1ff071777e6546bc8caa062aa06db59fbe0e8594 (patch) | |
tree | 20c0182adfaec4d767bcb56ddb8aefe08e23ebf6 /tests/fileName.test | |
parent | 46415a614da041bf28edf86e9bc62f74db244843 (diff) | |
download | tcl-1ff071777e6546bc8caa062aa06db59fbe0e8594.zip tcl-1ff071777e6546bc8caa062aa06db59fbe0e8594.tar.gz tcl-1ff071777e6546bc8caa062aa06db59fbe0e8594.tar.bz2 |
* Fixes to test suite when there's a space
in the working path. Thanks to Kevin Kenny.
Diffstat (limited to 'tests/fileName.test')
-rw-r--r-- | tests/fileName.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fileName.test b/tests/fileName.test index 9289bc9..3785709 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.20 2002/05/07 18:03:05 vincentdarley Exp $ +# RCS: @(#) $Id: fileName.test,v 1.21 2002/05/08 05:58:56 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -1701,7 +1701,7 @@ test filename-15.6 {unix specific globbing} {unixOnly} { set result [list [catch {glob ~} msg] $msg] set env(HOME) $temp set result -} [list 0 [list [glob ~]/globTest/odd\\\[\]*?\{\}name]] +} [list 0 [list [lindex [glob ~] 0]/globTest/odd\\\[\]*?\{\}name]] catch {exec rm -f globTest/odd\\\[\]*?\{\}name} # The following tests are only valid for Windows systems. |