Tcl Source Code

Attachment Details
Login
Overview

Artifact ID: 688293d9ec7fe737b2fcdc7eb2cecedaef71df81
Ticket: 1005454fffffffffffffffffffffffffffffffff
Date: 2004-08-08 17:49:05
User: lvirden
Artifact Attached: 9ec677947537cb5c728c9ddabf486e0033ba4923
Filename:tcl847bug.txt
Description:tcl 8.4.7 make test fail messages
Content:
     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
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 {eval file attributes foo.tmp [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 {eval file attributes foo.tmp [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