|
2004-05-26
| ||
| 02:03 | • Closed ticket [918267ffff]: winFCmd-7.9 and winFCmd-15.10 fail plus 7 other ... artifact: 5e6c4ad6d6 user: kennykb | |
|
2004-04-08
| ||
| 20:42 | • Ticket [918267ffff]: 5 changes artifact: fdda57e78e user: kennykb | |
|
2004-03-31
| ||
| 05:59 | • Ticket [918267ffff]: 5 changes artifact: dd8ef44425 user: vincentdarley | |
|
2004-03-18
| ||
| 16:53 | • Ticket [918267ffff]: 4 changes artifact: 0dbac45fb5 user: dkf | |
|
2004-03-17
| ||
| 20:11 | • New ticket [918267ffff]. artifact: 21a4133e08 user: kennykb | |
winFCmd-7.9 and winFCmd-15.10 fail
Closed / Fixed918267ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2004-03-17 20:11:56
On a system that has no CD-ROM drive, but has
a read-only share mounted via SMB, the read-only
share is detected as a CD. This causes the {cdrom}
tests winFCmd-7.9 and winFCmd-15.10 to get
unexpected failures:
==== winFCmd-7.9 TraverseWinTree: append \ to source if
necessary FAILED
==== Contents of test case:
list [catch {testfile rmdir $cdrom/} msg] [lindex
$msg 1]
---- Result was:
1 ENOENT
---- Result should have been (exact matching):
1 EACCES
==== winFCmd-7.9 FAILED
==== winFCmd-15.10 SetWinFileAttributes - failing FAILED
==== Contents of test case:
cleanup
catch {file attributes $cdfile -archive 1}
---- Result was:
0
---- Result should have been (exact matching):
1
==== winFCmd-15.10 FAILED
dkfplain2004-03-18 16:53:59
Logged In: YES user_id=79902 I don't know *how* to do this, but it seems to me that what we're after here is better constraints on these two tests.
vincentdarleyplain2004-03-31 05:59:37
Logged In: YES user_id=32170 This is out of my area of expertise, sorry. I also don't have any SMB mounts to play with...
kennykbplain2004-04-08 20:42:42
Logged In: YES user_id=99768 I would think that we probably need an interface to the GetDriveType system call if we really want to find a CD-ROM drive: http://msdn.microsoft.com/library/en-us/fileio/base/getdrivetype.asp
kennykbplain2004-05-26 02:03:05
Logged In: YES user_id=99768 The 'testvolumetype' command in tcltest seems to be ideal to this scenario, so I changed over the loop that searches for the CD drive to use it. We might want to use a similar mechanism for the 'exdev' test but I'm not going there right now.
Log in (anonymous is fine) to add a comment.