diff options
author | dgp <dgp@users.sourceforge.net> | 2009-02-20 18:19:15 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2009-02-20 18:19:15 (GMT) |
commit | cabffe92aa625b6d83881d3f28857b4c50775aa5 (patch) | |
tree | 7e83d0300e335428ad187891e7a59bd4aaa8a793 /tests | |
parent | 0c058bc1950888b1d4c5744c7f4a26698ff3606b (diff) | |
download | tcl-cabffe92aa625b6d83881d3f28857b4c50775aa5.zip tcl-cabffe92aa625b6d83881d3f28857b4c50775aa5.tar.gz tcl-cabffe92aa625b6d83881d3f28857b4c50775aa5.tar.bz2 |
* generic/tclPathObj.c: Fixed mistaken logic in TclFSGetPathType()
* tests/fileName.test: that assumed (not "absolute" => "relative").
This is a false assumption on Windows, where "volumerelative" is
another possibility. [Bug 2571597].
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fileName.test | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/fileName.test b/tests/fileName.test index 1d1f3ce..c40b8ac 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.57 2008/09/29 16:03:30 dgp Exp $ +# RCS: @(#) $Id: fileName.test,v 1.58 2009/02/20 18:19:16 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -1443,6 +1443,12 @@ test filename-17.2 {windows specific glob with executable} -body { removeFile execglob/abc.notexecutable removeDirectory execglob } -result {abc.exe} +test filename-17.3 {Bug 2571597} win { + set p /a + file pathtype $p + file normalize $p + file pathtype $p +} volumerelative test fileName-18.1 {windows - split ADS name correctly} {win} { # bug 1194458 |