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

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 2000 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 2000.


Report 2000 Actions


    Problem Report Number 2000
    Submitter's Classification Specification problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0586
    Raised 1996-09-02 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Transport Service XTI
    Certification Program The Open Brand certification program
    Test Suite VST version 4.1.4
    Test Identification XTI.os/util/optmgmt 4 6 8 14 16 18 22 24 26 30 32 34
    Problem Summary PGT4R.015 These tests verifies that a t_optmgmt() call with the option T_ALLOPT. However, a t_optmgmt() faild with TBADOPT, bacause this test requested a option T_ALLOPT together with other options. The Network...
    Problem Text

    These tests verifies that a t_optmgmt() call with the option T_ALLOPT.
    However, a t_optmgmt() faild with TBADOPT, bacause this test requested
    a option T_ALLOPT together with other options.

    The Networking Services Issue 4 (The t_optmgmt() reference of Chapter 7 XTI
    Library Functions and Parameters) says, A option T_ALLOPT should not be
    requested together with other options. So a t_optmgmt() faild with TBADOPT.

    The testcase should not be requested a option T_ALLOPT together with other
    options, when a t_optmgmt() call.

    Test Output
    ************************************************************************

    /tset/XTI.os/util/optmgmt/T.optmgmt 4 Failed

    Test Description:
    When req->flags is set to T_DEFAULT and req->opt.buf contains the
    special option T_ALLOPT with the level XTI_GENERIC and with no option
    value specified, then a call to t_optmgmt( fd, req, ret) returns 0,
    ignores any options in the option buffer beyond T_ALLOPT, and reports
    the status and default value for all of the defined XTI_GENERIC
    options in ret->opt.buf. The status of each option is T_SUCCESS when
    it is supported, T_NOTSUPPORT when it is not supported or available
    only in privileged mode, or T_READONLY when it is read-only in the
    current XTI state. The value of ret->flags is set to the value of the
    worst single result of the set of options requested. The state of the
    endpoint remains unchanged.

    Test Strategy:
    OBTAIN an endpoint in T_IDLE state using provsetup()
    ADD the special option T_ALLOPT to the option buffer using addoption()
    FOR each option at level XTI_GENERIC using getoptlist()
    ADD the option to the option buffer with no option value using
    addoption()
    VERIFY that t_optmgmt() with flag set to T_DEFAULT returned zero
    VERIFY that the endpoint state is unchanged
    VERIFY that each option is in the returned option buffer
    VERIFY that the returned option flag is correctly set.

    Test Information:
    t_optmgmt() for level 0xffff on provider TCP
    RETURN VALUES: expected: 0, observed: -1
    TERRNO VALUES: expected: 0 (NO ERROR), observed: 2 (TBADOPT)
    t_optmgmt() for level 0xffff on provider UDP
    RETURN VALUES: expected: 0, observed: -1
    TERRNO VALUES: expected: 0 (NO ERROR), observed: 2 (TBADOPT)
    ************************************************************************

    [ other tests with similar output ]

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    The Networking Services, Issue 4 specification states the following with
    regard to the T_ALLOPT option's use with t_optmgmt:

    Since in a t_optmgmt() call only options of one level may be addressed,
    this option should not be requested together with other options. The
    function returns as soon as this option has been processed.

    The second sentence clarifies the processing requirements relating to t_opmgmt()
    in the case that it appears in an option buffer. In the case that the
    T_ALLOPT option is the first option in the buffer, the system must return
    after processing this option and before any other options are processed.
    Thus the system under test does not meet the requirement that the function
    returns as soon as the option has been processed since it is returning a
    TBADOPT error condition based on the examination of subsequent options.

    In the case that other options precede the T_ALLOPT option in the option
    buffer, then a TBADOPT error would be acceptable since the error condition
    would be triggered by the appearance of the T_ALLOPT option.

    The statement that "this option should not be requested with other options"
    is a recommendation for users and applications and an implementation must
    be capable of dealing with an application that does not adhere to this
    recommendation. The need for the recommendation is clarified in the next
    sentence which makes it clear that an implementation is required to return
    as soon as the T_ALLOPT option has been processed potentially leaving other
    options unprocessed.

    It is recommended that this request is refused.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion
    This request is refused.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority