[ tcl-Bugs-2891026 ] fCmd test failures on Windows7

View: New views
1 Messages — Rating Filter:   Alert me  

[ tcl-Bugs-2891026 ] fCmd test failures on Windows7

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bugs item #2891026, was opened at 2009-11-03 01:02
Message generated for change (Settings changed) made by patthoyts
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110894&aid=2891026&group_id=10894

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: 37. File System
Group: development: 8.6b1.1
>Status: Closed
>Resolution: Fixed
Priority: 9
Private: No
Submitted By: Pat Thoyts (patthoyts)
Assigned to: Vince Darley (vincentdarley)
Summary: fCmd test failures on Windows7

Initial Comment:
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.

----------------------------------------------------------------------

>Comment By: Pat Thoyts (patthoyts)
Date: 2009-11-07 09:25

Message:
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.

----------------------------------------------------------------------

Comment By: Don Porter (dgp)
Date: 2009-11-04 17:50

Message:

this is fixed now?

----------------------------------------------------------------------

Comment By: Donal K. Fellows (dkf)
Date: 2009-11-03 09:17

Message:
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...

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110894&aid=2891026&group_id=10894

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Tcl-Bugs mailing list
Tcl-Bugs@...
https://lists.sourceforge.net/lists/listinfo/tcl-bugs