Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2003-12-17
01:35 • Ticket [747629ffff] fCmd-9.14.2 fails status still Closed with 7 other chang... artifact: 28f7a7a743 user: dgp
01:35 • Closed ticket [747629ffff]. artifact: 8bb78ad76f user: dgp
2003-06-26
20:25 • Ticket [747629ffff]: 4 changes artifact: 3a9039d2e2 user: hgiese
2003-06-05
17:20 • Ticket [747629ffff]: 5 changes artifact: 5e56447d8f user: vincentdarley
2003-06-03
04:27 • Ticket [747629ffff]: 4 changes artifact: 6aad1e7db7 user: dgp
03:09 • Ticket [747629ffff]: 4 changes artifact: efbe5aae78 user: vincentdarley
2003-06-02
17:04 • New ticket [747629ffff]. artifact: 67dc1bf461 user: dgp

fCmd-9.14.2 fails

Closed / Out of Date747629ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 23 years ago
Descriptionplain2003-06-02 17:04:10
some change to the HEAD in the last week
has made test fCmd-9.14.2 start failing
on Solaris and Linux:

==== fCmd-9.14.2 file rename: comprehensive: dir into
self FAILED
==== Contents of test case:

    cleanup
    file mkdir td1
    set dir [pwd]
    cd td1
    set res [list [catch {file rename [file join ..
td1] [file join .. td1x]} msg] $msg]
    cd $dir
    set res

---- Result was:
0 {}
---- Result should have been (exact matching):
1 {error renaming "../td1" to "../td1x": permission denied}
==== fCmd-9.14.2 FAILED
vincentdarleyplain2003-06-03 03:09:41
Logged In: YES 
user_id=32170

This is a new test I committed today as part of a bug fix 
to a bug reported a few hours earlier.  Anyway, I 
presume from the above that on Solaris and Linux you 
are allowed to rename a directory which contains the 
pwd?  In that case we should simply make the test 
winOnly.
dgpplain2003-06-03 04:27:13
Logged In: YES 
user_id=80530


I see.  Well there should be a constraint then.
I'm not sure whether the correct constraint
should be on the platform type or on the
filesystem type.
vincentdarleyplain2003-06-05 17:20:24
Logged In: YES 
user_id=32170

Jeff: any ideas what the correct constraint is on this new 
test?

It basically boils down to: What platforms/filesystems can one 
rename the directory which is the current cwd?
hgieseplain2003-06-26 20:25:12
Logged In: YES 
user_id=522169

Well, the test failed on Win98, too, because the operation
succeeded. So if restrict this to winonly, please also
restrict it to NT.
Best regards
Helmut Giese
dgp Closed ticket [747629ffff]. [History diff]2003-12-17 01:35:44
dgpplain2003-12-17 01:35:45
Logged In: YES 
user_id=80530


This test has been marked
nonPortable, so the failure
no longer happens because
the test no longer runs.

Would be better if a more
specific constraint could be
chosen so that the test might
run in those environments
where it tests something useful.
Log in (anonymous is fine) to add a comment.