Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-02-28
22:57 • Ticket [905163ffff] FileSystem test W drive assumption status still Closed w... artifact: 67ff9dc676 user: vincentdarley
22:57 • Closed ticket [905163ffff]. artifact: 14437026ed user: vincentdarley
2004-02-27
23:02 • Ticket [905163ffff]: 4 changes artifact: 01e17cc9e3 user: vincentdarley
2004-02-26
16:08 • New ticket [905163ffff]. artifact: be66b45c81 user: patthoyts

FileSystem test W drive assumption

Closed / Fixed905163ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2004-02-26 16:08:53
I get the following failures for WinXP, Tcl 8.5a0 

fileSystem.test

==== filesystem-1.19 file normalisation FAILED
==== Contents of test case:

    file normalize w:/./../../..

---- Result was:
W:/
---- Result should have been (exact matching):
w:/
==== filesystem-1.19 FAILED


==== filesystem-1.24 file normalisation FAILED
==== Contents of test case:

    file normalize w:/./../../../a

---- Result was:
W:/a
---- Result should have been (exact matching):
w:/a
==== filesystem-1.24 FAILED


==== filesystem-1.25 file normalisation FAILED
==== Contents of test case:

    file normalize w:/./.././../../a

---- Result was:
W:/a
---- Result should have been (exact matching):
w:/a
==== filesystem-1.25 FAILED


==== filesystem-1.25.1 file normalisation FAILED
==== Contents of test case:

    file normalize w:/./.././..\\..\\a\\bb

---- Result was:
W:/a/bb
---- Result should have been (exact matching):
w:/a/bb
==== filesystem-1.25.1 FAILED

As you can see, these are spurious failures and are
engendered by my having a W: drive. This changes the
case of the drive letter it seems. Why? or more
pertinantly, why are we testing for that?
vincentdarleyplain2004-02-27 23:02:41
Logged In: YES 
user_id=32170

You're right -- it's a bit of a bogus test -- I'll fix them.
 The test really ought to test whether a non-existent drive
is ok with normalization.
vincentdarleyplain2004-02-28 22:57:08
Logged In: YES 
user_id=32170

Fixed in cvs HEAD.
vincentdarley Ticket [905163ffff]: 2 changes [History diff]2004-02-28 22:57:09
Log in (anonymous is fine) to add a comment.