HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 1966 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 1966.


Report 1966 Actions


    Problem Report Number 1966
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0993
    Raised 1997-05-06 08:00
    Updated 2003-03-13 08:00
    Published 1997-05-09 08:00
    Product Standard Transport Service XTI
    Certification Program The Open Brand certification program
    Test Suite VST version 4.1.4
    Test Identification /tset/XTI.os/cots/accept/T.accept 15
    Problem Summary TSDT4.031 For test case T.accept 15, the VST test suite attempts to verify that a call to t_accept() with a resfd in the T_INCON state returns -1 with t_errno set to TOUTSTATE. The qlen value is > 0. This does ...
    Problem Text
    For test case T.accept 15, the VST test suite attempts to verify that
    a call to t_accept() with a resfd in the T_INCON state returns -1 with
    t_errno set to TOUTSTATE. The qlen value is > 0.

    This does not produce the expected behaviour on our implementation,
    which checks first that qlen should be zero and returns -1 with t_errno
    set to TRESQLEN.

    The specification clearly allows an error return TRESQLEN under these
    conditions even if TOUTSTATE is the error return targeted by VST4.
    There seems to be no appropriate modification to the testcase to avoid
    this ambiguity.

    We request that a TSD be accorded to waive this test result.
    Test Output
    /tset/XTI.os/cots/accept/T.accept 15 Failed

    Test Description:
    If the implementation supports a connection-oriented transport
    service:
    When resfd != fd and resfd is neither in the T_IDLE state nor in
    the T_UNBND state, then t_accept() returns (int)-1, sets t_errno
    to TOUTSTATE, and the states of the endpoints fd and resfd are not
    changed.

    Test Strategy:
    VERIFY that the transport service is of type T_COTS or T_COTS_ORD
    MASTER:
    OBTAIN an endpoint in a state that is neither T_IDLE nor T_UNBND
    using v_toutst_m()
    OPEN a second endpoint using t_open()
    INITIALISE second endpoint using u_provinit()
    IF the provider supports binding multiple endpoints to the same
    address:
    BIND the second endpoint to the same address as the first
    endpoint using t_bind()
    OTHERWISE:
    IF the transport provider requires both fd and resfd to be bound
    to the same address:
    SKIP to the next state
    OBTAIN an address using getaddr()
    BIND the second endpoint to the new address using t_bind()
    SEND address of second endpoint to slave, using u_sndaddr() and
    putsv_s()
    SLAVE:
    RECEIVE address of master's second endpoint, using getsv_s() and
    u_rcvaddr()
    GENERATE T_LISTEN event on master's second endpoint using
    listen_ev_s()
    MASTER:
    WAIT for connect request on second endpoint using t_listen()
    ACCEPT connection using t_accept() with fd as second endpoint and
    resfd as first
    VERIFY that t_accept() returned -1 and set t_errno to TOUTSTATE
    VERIFY that the states of the endpoints have not changed

    Test Information:
    t_accept() on ISO CLASS 4 endpoint with fd in T_INCON state and resfd
    in T_INCON state
    TERRNO VALUES: expected: 6 (TOUTSTATE), observed: 26 (TRESQLEN)

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    It is agreed that this is a test suite deficiency and a waiver is recommended.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion
    This is an agreed Test Suite Deficiency.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority