Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2016-07-26
12:04 • Ticket [2891026fff] fCmd test failures on Windows7 status still Closed with ... artifact: 81dbccc8e8 user: oehhar
2009-11-07
16:25 • Closed ticket [2891026fff]. artifact: 42885e05be user: patthoyts
16:25 • Ticket [2891026fff]: 4 changes artifact: f75c635f20 user: patthoyts
2009-11-05
00:50 • Ticket [2891026fff]: 4 changes artifact: ba3094fe63 user: dgp
2009-11-03
16:17 • Ticket [2891026fff]: 4 changes artifact: d895b4b7ed user: dkf
01:02 • New ticket [2891026fff]. artifact: e8bbab5ecf user: patthoyts

fCmd test failures on Windows7

Closed / Fixed2891026fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 10 years ago
Descriptionplain2009-11-03 01:02:14
We are getting test failures for fCmd 9.4, 9.6, 9.9 and 9.11 on Windows 7 for both HEAD and 8.5-branch. Each of these uses the testchmod command to set the directory to 555 which seems to equate to 'attrib +r dir & cacls dir /e /d Everyone' ie: set the directory readonly and deny write access. Presumably on Unix a 555 directory can be renamed or otherwise modified by not on Win7. The actual error is a permission denied when trying to rename the directory.
So I think this test is wrong here. I believe the ACL being set is probably overly restrictive if we are trying to emulate posix semantics for directory access with this. But I'm not certain of the intention of the tests in this regard for Windows.
Note: these tests pass on Windows XP. I think they fail on Vista but I have not recently re-checked.
dkfplain2009-11-03 16:17:43
It seems to vary. With HFS+ on OSX, I can't rename or delete a dir set to 555, or make, delete or rename files in it. (I can modify existing files though.) With NFS on Solaris, I can rename the dir (!) but otherwise the same.

Maybe just mark the tests as nonPortable...
dgpplain2009-11-05 00:50:20
this is fixed now?
patthoytsplain2009-11-07 16:25:03
Given the low portability of this test I've added contstraints to exclude those that use 555 directories on Windows Vista and above. That leaves them running on XP.
patthoytsplain2009-11-07 16:25:04
allow_comments - 1
oehharwiki2016-07-26 12:04:32

Test fCmd-9.11 failed on tcl8.6.6rc1 with the following log:

==== cmdAH-25.3.1 Tcl_FileObjCmd: owned FAILED
==== Contents of test case:

    file owned $env(windir)

---- Result was:
1
---- Result should have been (exact matching):
0
==== cmdAH-25.3.1 FAILED

Apparently, this test was reenabled and is still failing.

Environment:

  • Win 10 GER 64 bit
  • tcl 8.6.6rc1
  • VC6 + PSDK2003SP1 32bit, Makefile.vc

Log in (anonymous is fine) to add a comment.