#2606 FileSystem test W drive assumption

obsolete: 8.5a0
closed-fixed
5
2004-02-28
2004-02-26
Pat Thoyts
No

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?

Discussion

  • Vince Darley

    Vince Darley - 2004-02-27

    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.

     
  • Vince Darley

    Vince Darley - 2004-02-28
    • status: open --> closed-fixed
     
  • Vince Darley

    Vince Darley - 2004-02-28

    Logged In: YES
    user_id=32170

    Fixed in cvs HEAD.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks