Tcl Source Code

View Ticket
Login
Ticket UUID: 1479780
Title: fCmd test 27-5&6 SPARC Solaris failure
Type: Bug Created on: 2006-05-01 14:46:33
Submitter: lvirden Assigned to: vincentdarley
Subsystem: 37. File System Severity:
Priority: 5 Medium Last modified: 2008-01-14 06:26:52
Status: Closed Closed by: hobbs
Resolution: Duplicate Closed on: 2008-01-13 23:26:52
Version: obsolete: 8.5a4
Description:
SPARC Solaris 8 using Sun C compiler to compile.

Flags for configure were:

--prefix=/volws/lwv27/ldatae --enable-threads
--enable-shared --enable-symbols --enable-stubs CC=cc

Test suite failures:

fCmd.test

==== fCmd-27.5 TclFileAttrsCmd - setting one option FAILED
==== Contents of test case:

    catch {file delete -force -- foo.tmp}
    createfile foo.tmp
    set attrs [file attributes foo.tmp]
    list [catch {file attributes foo.tmp
{expand}[lrange $attrs 0 1]} msg] $msg 
[file delete -force -- foo.tmp]

---- Result was:
1 {could not set group for file "foo.tmp": not owner} {}
---- Result should have been (exact matching):
0 {} {}
==== fCmd-27.5 FAILED

==== fCmd-27.6 TclFileAttrsCmd - setting more than one
option FAILED
==== Contents of test case:

    catch {file delete -force -- foo.tmp}
    createfile foo.tmp
    set attrs [file attributes foo.tmp]
    list [catch {file attributes foo.tmp
{expand}[lrange $attrs 0 3]} msg] $msg 
[file delete -force -- foo.tmp]

---- Result was:
1 {could not set group for file "foo.tmp": not owner} {}
---- Result should have been (exact matching):
0 {} {}
==== fCmd-27.6 FAILED


NOTE: Solaris does not permit a non-root user to change
group on a file to a group of which the user is not a
member. Perhaps the test should check first to find a
group to which the user belongs?
User Comments:
dkf added on 2006-05-01 22:56:07:
Logged In: YES 
user_id=79902

Larry, it would help tremendously if you'd categorize your
bug reports right according to the categorization outlined
in TIP #16 (and #23 if about Tk). Every test file is/should
be listed in there in the numbered section which it is right
to report test failures against. Thanks!