summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2009-02-20 18:19:31 (GMT)
committerdgp <dgp@users.sourceforge.net>2009-02-20 18:19:31 (GMT)
commit9c04062ac93398858cae6e316b77920deecd70b6 (patch)
treeb5437594e0ed24690db8d1c04e55748bbd51197f /tests
parenta8641d0460b866bd9dc39810f783f2db8ac210b7 (diff)
downloadtcl-9c04062ac93398858cae6e316b77920deecd70b6.zip
tcl-9c04062ac93398858cae6e316b77920deecd70b6.tar.gz
tcl-9c04062ac93398858cae6e316b77920deecd70b6.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.test8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/fileName.test b/tests/fileName.test
index ebad33b..2cd68c6 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.2 2008/08/14 13:08:45 dgp Exp $
+# RCS: @(#) $Id: fileName.test,v 1.51.8.3 2009/02/20 18:19:32 dgp Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -1521,6 +1521,12 @@ test filename-17.2 {windows specific glob with executable} {win} {
removeDirectory execglob
set res
} {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