Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Test suite fails

Deleted217871ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:45:10
OriginalBugID: 2144 Bug
Version: 8.1.1
SubmitDate: '1999-06-03'
LastModified: '1999-08-14'
Severity: MED
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
RelatedBugIDs: 1968
OS: Solaris
OSVersion: 2.6
Machine: Other
FixedDate: '2000-10-25'
ClosedDate: '1999-08-14'


Name:
Larry W. Virden

Extensions:
none

CustomShell:
none

ReproducibleScript:
make test

ObservedBehavior:
Test suite fails in the following manner
    
    event.test
    
    ==== 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
    invalid command name "remove"
    
    reg.test
    !!! bypassed 22 tests in 23, `reg multicharacter collating elements'
    !!! bypassed 2 tests in 26, `reg mixed quantifiers'
    
    Tests ended at Sat May 29 19:24:25 EDT 1999
    all.tcl:        Total   8570    Passed  7812    Skipped 755     Failed
    3
    Sourced 117 Test Files.
    Files with failing tests: event.test fCmd.test
    Number of tests skipped for each constraint:
            15      95
            16      doTestsWithRemoteServer
            48      emptyTest
            27      knownBug
            122     macOnly
            151     nonPortable
            16      nt
            327     pcOnly
            27      testthread
            1       umask2
            5       xdev
    Warning: test files left files behind:
            httpold.test:   httpd

DesiredBehavior:
All test suites pass
welch Deleted ticket [217871ffff]. [History diff]2000-10-26 07:59:49
Log in (anonymous is fine) to add a comment.