Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 740796d26d27a45a16dafcea86af05103c2f9b1b
Ticket: 217897ffffffffffffffffffffffffffffffffff
Increased number of test suite failures
User & Date: nobody on 2000-10-26 00:45:35
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2514 Bug
    Version: 8.2b2
    SubmitDate: '1999-08-10'
    LastModified: '1999-08-31'
    Severity: CRIT
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    RelatedBugIDs: 2550
    OS: Solaris
    OSVersion: 2.6
    Machine: Other
    FixedDate: '2000-10-25'
    ClosedDate: '1999-08-31'
    
    
    Name:
    Larry W. Virden
    
    CVS:
    August 5, 1999
    
    Extensions:
    none
    
    CustomShell:
    Retrived the latest files from the
    
    Comments:
    Here is my configuration for tcl
        
        # /vol/tclsrcsol/tcl82/tcl8.2b1/unix/configure  --prefix=/ldata2/tcl
        --exec-prefix=/ldata2/tcl/sun4 --enable-shared --with-cc=cc
        --with-tclincl=/ldata2/tcl --with-tcllib=/ldata2/tcl/sun4/lib
        --with-tclconfig=/ldata2/tcl/sun4/lib --enable-threads
    
    ReproducibleScript:
    make test
    
    ObservedBehavior:
    failures in the following tests:
        
        event.test
        
        ==== 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:
        {0 0} {0 0} {0 0}
        ---- Result should have been:
        {0 0} {1 0} {2 0}
        ==== event-1.1 FAILED
        
        
        ==== event-11.5 Tcl_VwaitCmd procedure: round robin scheduling, 2
        sources FAILED
        ==== Contents of test case:
        
            set f1 [open test1 w]
            proc accept {s args} {
                puts $s foobar
                close $s
            }
            set s1 [socket -server accept 5001]
            after 1000
            set s2 [socket 127.0.0.1 5001]
            close $s1
            set x 0
            set y 0
            set z 0
            fileevent $s2 readable { incr z }
            vwait z
            fileevent $f1 writable { incr x; if { $y == 3 } { set z done } }
            fileevent $s2 readable { incr y; if { $x == 3 } { set z done } }
            vwait z
            close $f1
            close $s2
            file delete test1 test2
            list $x $y $z
        
        ==== Test generated error:
        couldn't open socket: address already in use
        ---- Result should have been:
        3 3 done
        ==== event-11.5 FAILED
        
        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:
        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:
        0 {} {}
        ==== fCmd-27.6 FAILED
        
        http.test
        Running httpd in thread 5
        
        ==== http-1.1 http::config FAILED
        ==== Contents of test case:
        
            http::config
        
        ---- Result was:
        -accept */* -proxyfilter http::ProxyRequired -proxyhost {} -proxyport {}
        -useragent {Tcl http client package 2.0}
        ---- Result should have been:
        -accept */* -proxyfilter http::ProxyRequired -proxyhost {} -proxyport {}
        -useragent {Tcl http client package 2.1}
        ==== http-1.1 FAILED
        
        io.test
        
        ==== io-6.56 Tcl_GetsObj: incomplete lines should disable file events
        FAILED
        ==== Contents of test case:
        
            update
            set f [open "|[list $::tcltest::tcltest cat]" w+]
            fconfigure $f -buffering none
            puts -nonewline $f "foobar"
            fconfigure $f -blocking 0
            set x {}
            after 500 { lappend x timeout }
            fileevent $f readable { lappend x [gets $f] }
            vwait x
            vwait x
            fconfigure $f -blocking 1
            puts -nonewline $f "baz\n"
            after 500 { lappend x timeout }
            fconfigure $f -blocking 0
            vwait x
            vwait x
            close $f
            set x
        
        ---- Result was:
        {} timeout timeout foobarbaz
        ---- Result should have been:
        {} timeout foobarbaz timeout
        ==== io-6.56 FAILED
        
        tcltest.test
        
        ==== tcltest-8.2 tcltest a.tcl -tmpdir thisdirectoryisafile FAILED
        ==== Contents of test case:
        
            catch {exec $::tcltest::tcltest a.tcl -tmpdir thisdirectoryisafile}
        msg
            list [regexp "not a directory" $msg]
        
        ---- Result was:
        0
        ---- Result should have been:
        1
        ==== tcltest-8.2 FAILED
        
        thread.test
        
        ==== thread-4.5 TclThreadSend preserve errorCode FAILED
        ==== Contents of test case:
        
            threadReap
            set ::tcltest::mainThread [testthread names]
            set serverthread [testthread create]
            set x [catch {testthread send $serverthread {error ERR INFO CODE}}
        msg]
            threadReap
            list $x $msg $errorCode
        
        ---- Result was:
        1 ERR NONE
        ---- Result should have been:
        1 ERR CODE
        ==== thread-4.5 FAILED
        
        unixInit.test
        
        ==== unixInit-2.1 TclpInitLibraryPath: value of installLib, developLib
        FAILED
        ==== Contents of test case:
        
            set path [getlibpath]
        
            set installLib lib/tcl[info tclversion]
            if {[string match {*[ab]*} [info patchlevel]]} {
                set developLib tcl[info patchlevel]/library
            } else {
                set developLib tcl[info tclversion]/library
            }
            set prefix [file dirname [file dirname $::tcltest::tcltest]]
        
            set x {}
            lappend x [string compare [lindex $path 0] $prefix/$installLib]
            lappend x [string compare [lindex $path 4] [file dirname
        $prefix]/$developLib]
            set x
        
        ---- Result was:
        0 1
        ---- Result should have been:
        0 0
        ==== unixInit-2.1 FAILED
        
        winTime.test
        
        Tests ended at Fri Aug 06 14:17:43 EDT 1999
        all.tcl:        Total   8725    Passed  7977    Skipped 739     Failed
        9
        Sourced 119 Test Files.
        Files with failing tests: event.test fCmd.test http.test io.test
        tcltest.test thread.test unixInit.test
        Number of tests skipped for each constraint:
                15      95
                16      doTestsWithRemoteServer
                48      emptyTest
                2       hasIsoLocale
                27      knownBug
                122     macOnly
                154     nonPortable
                16      nt
                331     pcOnly
                1       umask2
                2       unixOnly && !testthread
                5       xdev
    
    DesiredBehavior:
    All test suite tests that _should_ pass, pass.
    
    
    
    
    
  4. foundin changed to: "obsolete: 8.2b2"
  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: "69. Other"
  10. title changed to: "Increased number of test suite failures"
  11. type changed to: "Bug"