Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2003-07-29
22:20 • Closed ticket [779501ffff]: util.test fails in current cvs on Tru64Unix 5.1A... artifact: 360bc99e8d user: dgp
10:48 • New ticket [779501ffff]. artifact: 8e6f68d0aa user: mmokrejs

util.test fails in current cvs on Tru64Unix 5.1A

Closed / Duplicate779501ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2003-07-29 10:48:40
 Hi,
I just downloaded freshly current cvs and compile
with gcc/g++ on Tru64Unix 5.1A(you maybe remember I have
reported several bugs when cc/cxx are used). I've never
seen a failure in async.test and several others. Maybe
those bugs have been introduced into cvs within last
few days(maybe a week long) or are specific to gcc-3.3.
on Tru64Unix 5.1A:

util.test

==== util-3.1 Tcl_ScanCountedElement procedure - don't
leave unmatched braces FAILED
==== Contents of test case:

    # This test checks for a very tricky feature.  Any
list element
    # generated with Tcl_ScanCountedElement and
Tcl_ConvertElement must
    # have the property that it can be enclosing in
curly braces to make
    # an embedded sub-list.  If this property doesn't
hold, then
    # Tcl_DStringStartSublist doesn't work.

    set x {}
    lappend x "# \\\{ \\"
    concat $x [llength "{$x}"]

---- Result was:
#\ \\\{\ \\ 1
---- Result should have been (exact matching):
\#\ \\\{\ \\ 1
==== util-3.1 FAILED


==== util-3.2 Tcl_ConverCountedElement procedure -
quote leading '#' FAILED
==== Contents of test case:

    list # # a

---- Result was:
# # a
---- Result should have been (exact matching):
{#} # a
==== util-3.2 FAILED


==== util-3.3 Tcl_ConverCountedElement procedure -
quote leading '#' FAILED
==== Contents of test case:

    list #\{ # a

---- Result was:
#\{ # a
---- Result should have been (exact matching):
\#\{ # a
==== util-3.3 FAILED


==== util-3.4.1 Tcl_ConverCountedElement procedure -
quote leading '#' FAILED
==== Contents of test case:

    proc # {} {return #}
    set cmd [list #]
    append cmd ""       ;# force string rep generation
    set result [eval $cmd]
    rename # {}
    set result

---- Result was:

---- Result should have been (exact matching):
#
==== util-3.4.1 FAILED


==== util-3.5.1 Tcl_ConverCountedElement procedure -
quote leading '#' FAILED
==== Contents of test case:

    proc #\{ {} {return #}
    set cmd [list #\{]
    append cmd ""       ;# force string rep generation
    set result [eval $cmd]
    rename #\{ {}
    set result

---- Result was:

---- Result should have been (exact matching):
#
==== util-3.5.1 FAILED
dgpplain2003-07-29 22:20:27
Logged In: YES 
user_id=80530

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