Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1b65ad3f1f749444f8860e216185d81e530ce537
Ticket: 219312ffffffffffffffffffffffffffffffffff
make test failure
User & Date: nobody on 2000-10-26 05:10:32
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 3657 Bug
    Version: 8.2.2
    SubmitDate: '1999-11-23'
    LastModified: '1999-11-24'
    Severity: CRIT
    Status: UnAssn
    Submitter: techsupp
    ChangedBy: hobbs
    OS: BSD
    OSVersion: BSD/OS 4.0.1 patched through M401-021
    FixedDate: '2000-10-25'
    ClosedDate: '2000-10-25'
    
    
    Name:
    
    Peeter Pirn
    
    
    CustomShell:
    
    no patches applied
    
    
    ReproducibleScript:
    
    BSD/OS 4.0.1 patched up through patch M401-021.
    
    Download tcl8.2.2.tar.gz 
    
    cd tcl8.2.2/unix
    
    ./configure --prefix=/usr/local/tcl8.2.2 --enable-threads
    
    make (goes OK w/o error)
    
    make test
    
    
    The following failures/problems occur:
    
    ==== event-1.1 Tcl_CreateFileHandler, reading FAILED
    
    ==== Contents of test case:
    
    
        testfilehandler close
    
        testfilehandler create 0 readable off
    
        testfilehandler clear 0
    
        testfilehandler oneevent
    
        set result ""
    
        lappend result [testfilehandler counts 0]
    
        testfilehandler fillpartial 0
    
        testfilehandler oneevent
    
        lappend result [testfilehandler counts 0]
    
        testfilehandler oneevent
    
        lappend result [testfilehandler counts 0]
    
        testfilehandler close
    
        set result
    
    
    ---- Result was:
    
    {1 0} {2 0} {3 0}
    
    ---- Result should have been:
    
    {0 0} {1 0} {2 0}
    
    ==== event-1.1 FAILED
    
    
    exec.test
    
    
    ==== exec-1.3 pipelining FAILED
    
    ==== Contents of test case:
    
    
        set a [exec $::tcltest::tcltest echo a b c d | $::tcltest::tcltest cat | $::
    
    tcltest::tcltest wc]
    
        list [scan $a "%d %d %d" b c d] $b $c
    
    
    ==== Test generated error:
    
    
    error writing "stdout": broken pipe
    
        while executing
    
    "puts -nonewline [read $f]"
    
        ("foreach" body line 9)
    
        invoked from within
    
    "foreach name $argv {
    
            if {$name == "-"} {
    
                set f stdin
    
            } elseif {[catch {open $name r} f] != 0} {
    
                puts stderr $f
    
                continue
    
            }
    
            while {[e..."
    
        (file "cat" line 5)
    
    ---- Result should have been:
    
    3 1 4
    
    ==== exec-1.3 FAILED
    
    
    ==== exec-6.3 redirecting stderr through a pipeline FAILED
    
    ==== Contents of test case:
    
    
        exec $::tcltest::tcltest sh -c "echo foo bar 1>&2"  |& $::tcltest::tcltest s
    
    h -c "echo second msg 1>&2 ; cat" |& $::tcltest::tcltest cat
    
    
    ==== Test generated error:
    
    second msg
    
    child killed: alarm clock
    
        while executing
    
    "exec >@stdout 2>@stderr /var/www/home/ppirn/download/tcl/tcl8.2.2/unix/tcltest
    
    echo foo bar >@stderr"
    
        ("eval" body line 1)
    
        invoked from within
    
    "eval exec >@stdout 2>@stderr [list [info nameofexecutable]] $newcmd"
    
        ("foreach" body line 3)
    
        invoked from within
    
    "foreach arg $cmd {
    
            if {$arg == ";"} {
    
                eval exec >@stdout 2>@stderr [list [info nameofexecutable]] $newcmd
    
                set newcmd {}
    
                continue
    
            }
    
            i..."
    
        (file "sh" line 10)
    
    child process exited abnormally
    
    ---- Result should have been:
    
    second msg
    
    foo bar
    
    ==== exec-6.3 FAILED
    
    
    ==== exec-9.3 commands returning errors FAILED
    
    ==== Contents of test case:
    
    
        list [catch {exec $::tcltest::tcltest sleep 1 | $::tcltest::tcltest exit 43
    
    | $::tcltest::tcltest sleep 1} msg] $msg
    
    
    ---- Result was:
    
    1 {child killed: alarm clock
    
    child killed: alarm clock
    
    child process exited abnormally}
    
    ---- Result should have been:
    
    1 {child process exited abnormally}
    
    ==== exec-9.3 FAILED
    
    
    ==== exec-9.4 commands returning errors FAILED
    
    ==== Contents of test case:
    
    
        list [catch {exec $::tcltest::tcltest exit 43 | $::tcltest::tcltest echo "fo
    
    o bar"} msg] $msg
    
    
    ---- Result was:
    
    1 {child killed: alarm clock
    
    child process exited abnormally}
    
    ---- Result should have been:
    
    1 {foo bar
    
    child process exited abnormally}
    
    ==== exec-9.4 FAILED
    
    
    ==== exec-9.6 commands returning errors FAILED
    
    ==== Contents of test case:
    
    
        list [catch {exec $::tcltest::tcltest sh -c "echo error msg 1>&2"} msg] $msg
    
    
    ---- Result was:
    
    1 {child killed: alarm clock}
    
    ---- Result should have been:
    
    1 {error msg}
    
    ==== exec-9.6 FAILED
    
    
    ==== exec-9.7 commands returning errors FAILED
    
    ==== Contents of test case:
    
    
        list [catch {exec $::tcltest::tcltest sh -c "echo error msg 1>&2"  | $::tclt
    
    est::tcltest sh -c "echo error msg 1>&2"} msg] $msg
    
    
    ---- Result was:
    
    1 child\ killed:\ alarm\ clock\n\ \ \ \ while\ executing\n\"exec\ >@stdout\ 2>@s
    
    tderr\ /var/www/home/ppirn/download/tcl/tcl8.2.2/unix/tcltest\ echo\ error\ msg\
    
     >@stderr\"\n\ \ \ \ (\"eval\"\ body\ line\ 1)\n\ \ \ \ invoked\ from\ within\n\
    
    "eval\ exec\ >@stdout\ 2>@stderr\ \[list\ \[info\ nameofexecutable\]\]\ \$newcmd
    
    \"\n\ \ \ \ (\"foreach\"\ body\ line\ 3)\n\ \ \ \ invoked\ from\ within\n\"forea
    
    ch\ arg\ \$cmd\ \{\n\tif\ \{\$arg\ ==\ \"\;\"\}\ \{\n\t\ \ \ \ eval\ exec\ >@std
    
    out\ 2>@stderr\ \[list\ \[info\ nameofexecutable\]\]\ \$newcmd\n\t\ \ \ \ set\ n
    
    ewcmd\ \{\}\n\t\ \ \ \ continue\n\t\}\n\ti...\"\n\ \ \ \ (file\ \"sh\"\ line\ 10
    
    )\nerror\ msg
    
    ---- Result should have been:
    
    1 {error msg
    
    error msg}
    
    ==== exec-9.7 FAILED
    
    
    ==== exec-11.2 commands in background FAILED
    
    ==== Contents of test case:
    
    
        list [catch {exec $::tcltest::tcltest echo a &b} msg] $msg
    
    
    ---- Result was:
    
    1 {child killed: alarm clock}
    
    ---- Result should have been:
    
    0 {a &b}
    
    ==== exec-11.2 FAILED
    
    
    ...
    
    
    Running http 1.0 tests in slave interp
    
    (test hangs here; test killed by sys admin)
    
    
    
    
    
    
  4. foundin changed to: "obsolete: 8.2.2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "85. tclconfig"
  10. title changed to: "make test failure"
  11. type changed to: "Bug"