Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-10-17
05:44 • Closed ticket [219321ffff]: Sockets test fails plus 7 other changes artifact: d4e812d0b5 user: hobbs
2001-04-01
01:47 • Ticket [219321ffff]: 1 change artifact: 0eeaed2f21 user: dgp
2000-10-26
05:10 • New ticket [219321ffff]. artifact: b7d92a43a6 user: nobody

Sockets test fails

Closed / Works For Me219321ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 25 years ago
Descriptionplain2000-10-26 05:10:43
OriginalBugID: 3916 Bug
Version: 8.2.3
SubmitDate: '1999-12-21'
LastModified: '2000-01-18'
Severity: LOW
Status: UnAssn
Submitter: techsupp
ChangedBy: hobbs
OS: HP-UX
OSVersion: 11.0
Machine: HP 712/80
FixedDate: '2000-10-25'
ClosedDate: '2000-10-25'


Name:
Laurent Duperval

ReproducibleScript:
Sockets test fails

ObservedBehavior:
socket.test

==== socket-8.1 testing -async flag on sockets FAILED
==== Contents of test case:

    # NOTE: This test may fail on some Solaris 2.4 systems. If it does,
    # check that you have these patches installed (using showrev -p):
    #
    # 101907-05, 101925-02, 101945-14, 101959-03, 101969-05, 101973-03,
    # 101977-03, 101981-02, 101985-01, 102001-03, 102003-01, 102007-01,
    # 102011-02, 102024-01, 102039-01, 102044-01, 102048-01, 102062-03,
    # 102066-04, 102070-01, 102105-01, 102153-03, 102216-01, 102232-01,
    # 101878-03, 101879-01, 101880-03, 101933-01, 101950-01, 102030-01,
    # 102057-08, 102140-01, 101920-02, 101921-09, 101922-07, 101923-03
    #
    # If after installing these patches you are still experiencing a
    # problem, please email [email protected]. We have not observed this
    # failure on Solaris 2.5, so another option (instead of installing
    # these patches) is to upgrade to Solaris 2.5.
    set s [socket -server accept 2830]
    proc accept {s a p} {
        global x
        puts $s bye
        close $s
        set x done
    }
    set s1 [socket -async [info hostname] 2830]
    vwait x
    set z [gets $s1]
    close $s
    close $s1
    set z

---- Result was:

---- Result should have been:
bye
==== socket-8.1 FAILED

DesiredBehavior:
Should work.
dgp Ticket [219321ffff]: 1 change [History diff]2001-04-01 01:47:31
hobbsplain2001-10-17 05:44:29
Logged In: YES 
user_id=72656

This works for me in 8.3.3 on HP-11.
Log in (anonymous is fine) to add a comment.