winFCmd-6.11 assumes current drive of C:
Closed / Fixed1066528fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-11-15 08:50:58
Found this bug in core-8-4-branch, however, it may also
be in HEAD.
The test "winFCmd-6.11" incorrectly assumes that the
current drive is "C:". It makes no attempt to actually
check the current drive or set it to something "well
known" prior to performing the test.
I wonder if other bugs in this class are lurking in the
test suite?
==== winFCmd-6.11 TclpRemoveDirectory: attr == -1 FAILED
==== Contents of test case:
cleanup
set res [list [catch {testfile rmdir /} msg] $msg]
# WinXP returns EEXIST, WinNT seems to return
EACCES. No policy
# decision has been made as to which is correct.
regsub {E(ACCES|EXIST)} $res "EACCES or EEXIST"
---- Result was:
1 {E:/ EACCES or EEXIST}
---- Result should have been (exact matching):
1 {C:/ EACCES or EEXIST}
==== winFCmd-6.11 FAILED
dkf Ticket [1066528fff]: 2 changes
[History diff]2005-01-14 21:28:42
vincentdarleyplain2005-01-17 20:04:49
Logged In: YES user_id=32170 Fixed in 8-4 branch. Was already ok in HEAD.
Log in (anonymous is fine) to add a comment.