Skip to content
Tcl Source Code View Ticket
Login

View Ticket

test suite failure in 8.5 threads

Closed / Duplicate788857ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2003-08-14 17:56:50
Platform: sunblade 100, sun compiler, sparc solaris 8
cvs tcl snapshot from 20030811
configured with options
\"'--prefix=/volws/lwv26/ldatae' '--enable-64bits'
'--enable-shared' '--enable-symbols' '--enable-threads'
'CC=cc'\"

The following test cases fail:

async.test

==== async-1.7 basic async handlers FAILED
==== Contents of test case:

    set aresult xxx
    set acode yyy
    list [catch {testasync mark $handler4 "original" 0}
msg] $msg  $acode $aresu
lt

---- Result was:
0 {} yyy xxx
---- Result should have been (exact matching):
0 {comment quoting} 0 original
==== async-1.7 FAILED

basic.test

==== basic-20.3 Tcl_GetCommandInfo, #-quoting FAILED
==== Contents of test case:

    catch {rename \# ""}
    set x [testcmdtoken create \#]
    testcmdtoken name $x

---- Result was:
# ::#
---- Result should have been (exact matching):
{#} ::#
==== basic-20.3 FAILED

dict.test

==== dict-2.7 dict create command - #-quoting in string
rep FAILED
==== Contents of test case:

    dict create # #comment

---- Result was:
# #comment
---- Result should have been (exact matching):
{#} #comment
==== dict-2.7 FAILED

==== dict-2.8 dict create command - #-quoting in string
rep FAILED
==== Contents of test case:

    dict create #a x #b x

---- Result was:
#b x #a x
---- Result should have been (glob matching):
{#?} x #? x
==== dict-2.8 FAILED

dstring.test

==== dstring-2.9 appending list elements FAILED
==== Contents of test case:

    testdstring free
    testdstring element #
    testdstring get

---- Result was:
#
---- Result should have been (exact matching):
{#}
==== dstring-2.9 FAILED

==== dstring-2.10 appending list elements FAILED
==== Contents of test case:

    testdstring free
    testdstring append " " -1
    testdstring element #
    testdstring get

---- Result was:
 #
---- Result should have been (exact matching):
 {#}
==== dstring-2.10 FAILED

==== dstring-2.11 appending list elements FAILED
==== Contents of test case:

    testdstring free
    testdstring append \t -1
    testdstring element #
    testdstring get

---- Result was:
        #
---- Result should have been (exact matching):
        {#}
==== dstring-2.11 FAILED

==== dstring-2.13 appending list elements FAILED
==== Contents of test case:

    # This test shows lack of sophistication in
Tcl_DStringAppendElement's
    # decision about whether #-quoting can be disabled.
    testdstring free
    testdstring append "x " -1
    testdstring element #
    testdstring get

---- Result was:
x #
---- Result should have been (exact matching):
x {#}
==== dstring-2.13 FAILED

==== dstring-3.6 appending list elements FAILED
==== Contents of test case:

    testdstring free
    testdstring append x -1
    testdstring start
    testdstring element #
    testdstring end
    testdstring get

---- Result was:
x {#}
---- Result should have been (exact matching):
x {{#}}
==== dstring-3.6 FAILED

==== dstring-3.7 appending list elements FAILED
==== Contents of test case:

    testdstring free
    testdstring append x -1
    testdstring start
    testdstring append " " -1
    testdstring element #
    testdstring end
    testdstring get

---- Result was:
x { #}
---- Result should have been (exact matching):
x { {#}}
==== dstring-3.7 FAILED

==== dstring-3.8 appending list elements FAILED
==== Contents of test case:

    testdstring free
    testdstring append x -1
    testdstring start
    testdstring append \t -1
    testdstring element #
    testdstring end
    testdstring get

---- Result was:
x {     #}
---- Result should have been (exact matching):
x {     {#}}
==== dstring-3.8 FAILED

==== dstring-3.10 appending list elements FAILED
==== Contents of test case:

    # This test shows lack of sophistication in
Tcl_DStringAppendElement's
    # decision about whether #-quoting can be disabled.
    testdstring free
    testdstring append x -1
    testdstring start
    testdstring append "x " -1
    testdstring element #
    testdstring end
    testdstring get

---- Result was:
x {x #}
---- Result should have been (exact matching):
x {x {#}}
==== dstring-3.10 FAILED

fCmd.test

==== fCmd-9.14.2 file rename: comprehensive: dir into
self FAILED
==== Contents of test case:

    cleanup
    file mkdir td1
    set dir [pwd]
    cd td1
    set res [list [catch {file rename [file join ..
td1] [file join .. td1x]} ms
g] $msg]
    cd $dir
    set res

---- Result was:
0 {}
---- Result should have been (exact matching):
1 {error renaming "../td1" to "../td1x": permission denied}
==== fCmd-9.14.2 FAILED

init.test

==== init-4.6.0 ::errorInfo produced by [unknown] FAILED
==== Contents of test case:

        auto_reset
        catch {parray a b $arg}
        set first $::errorInfo
        catch {parray a b $arg}
        set second $::errorInfo
        string equal $first $second
    
---- Result was:
0
---- Result should have been (exact matching):
1
==== init-4.6.0 FAILED

==== init-4.6.1 ::errorInfo produced by [unknown] FAILED
==== Contents of test case:

        auto_reset
        namespace eval junk [list array set $arg [list
1 2 3 4]]
        trace variable ::junk::$arg r  "[list error
[subst {Variable \"$arg\" is
 write-only}]] ;# "
        catch {parray ::junk::$arg}
        set first $::errorInfo
        catch {parray ::junk::$arg}
        set second $::errorInfo
        string equal $first $second
    
---- Result was:
0
---- Result should have been (exact matching):
1
==== init-4.6.1 FAILED

:       Total   24      Passed  22      Skipped 0     
 Failed  2


list.test

==== list-1.25 basic tests FAILED
==== Contents of test case:
list # #
---- Result was:
# #
---- Result should have been (exact matching):
{#} #
==== list-1.25 FAILED

==== list-1.26 basic tests FAILED
==== Contents of test case:
list #\{ #\{
---- Result was:
#\{ #\{
---- Result should have been (exact matching):
\#\{ #\{
==== list-1.26 FAILED

parse.test

==== parse-2.3 Tcl_ParseCommand procedure,
backslash-newline in comments FAILED
==== Contents of test case:

    testparser " # foo bar\\\ncomment on continuation
line\nfoo" 0

---- Result was:
#\ foo\ bar\\\ncomment\ on\ continuation\ line\n foo 1
simple foo 1 text foo 0 {
}
---- Result should have been (exact matching):
\#\ foo\ bar\\\ncomment\ on\ continuation\ line\n foo 1
simple foo 1 text foo 0 
{}
==== parse-2.3 FAILED

==== parse-2.4 Tcl_ParseCommand procedure, missing
continuation line in comment 
FAILED
==== Contents of test case:

    testparser "#   \\\n" 0

---- Result was:
#\ \ \ \\\n {} 0 {}
---- Result should have been (exact matching):
\#\ \ \ \\\n {} 0 {}
==== parse-2.4 FAILED

util.test

==== util-3.1 Tcl_ScanCountedElement procedure - don't
leave unmatched braces FA
ILED
==== 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
lvirdenplain2003-08-15 01:33:53
Logged In: YES 
user_id=15949

Note that subsequent testing shows similar results without
the --enable-64bits; appears the problems are with
--enable-threads .  Since this flag is required for building
a tcl that can be used with tclblend, not specifying the
flag isn't a long term option.
dgp Closed ticket [788857ffff]. [History diff]2003-11-13 05:21:53
dgpplain2003-11-13 05:21:54
Logged In: YES 
user_id=80530


Mostly this is a dupe
of Bug 489537.  If there's
other stuff still valid in the
HEAD, please file a new report.
Log in (anonymous is fine) to add a comment.