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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1199 Actions


    Problem Report Number 1199
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0401
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Sockets (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSU version 4.1.0
    Test Identification sockets/socketpair 1, 10
    Problem Summary PG4U.00066 This IR claims that the test fails because it specifies an invalid protocol.
    Problem Text
    This IR claims that the test fails because it specifies an invalid
    protocol.

    These test cases attempt to test an invalid protocol with the INET
    address family (STREAMS type). However, our implementation does
    not support using the INET address family with socketpair().
    Using INET on this call is invalid and generates EINVAL.

    The Networking Services, Issue 4, states under Application Usage:
    "The socketpair() function is used primarily with UNIX domain sockets
    and need not be supported for other domains."
    Test Output
    TEST PURPOSE #1
    If the implementation supports a communications domain
    and a connection-oriented socket type:
    A successful call to int socketpair(int domain, int
    type, int protocol, int socket_vector[2]) shall create
    a pair of connected sockets in the domain domain of
    type type, place the file descriptors for the sockets
    into socket_vector, and return 0.
    TEST: AF_INET SOCK_STREAM
    TEST: Create socket pair
    TEST: Return value
    ERROR: socketpair failed, errno = 121(EINVAL - Invalid argument)
    1FAIL

    TEST PURPOSE #10
    If the implementation supports a communications domain
    and a socket type which does not support the creation
    of socket pairs:
    EIPNOTSUPP in errno and return -1 on a call to int
    socketpair(int domain, int type, int protocol, int
    socket_vector[2]) when the specified protocol does not
    permit creation of socket pairs.
    TEST: AF_INET SOCK_STREAM
    TEST: Create socket pair
    TEST: Return value
    ERROR: socketpair failed unexpectedly, expected errno = EOPNOTSUP,
    errno = 121(EINVAL - Invalid argument)
    10 FAIL

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We recommend this request be refused.

    We believe the test is correct.

    We believe the submitters claim that the test cases try to test
    invalid protocols is not true. Both tests issue socketpair(, , 0, )
    calls. These calls request that the IUT assign the the protocol used
    by the call. Since the protocol is assigned by the IUT it must be valid.

    The real issue here is that the IUT does not support
    socketpair(AF_INET) calls at all. The test suite allows for this
    possibility, but expects the IUT to return EOPNOTSUPP. Since the
    IUT under discussion returns EINVAL the tests fail. We may
    broaden the range of errors accepted in this instance depending
    on a base resolution requested for a previous issue raised by the
    submitter, but we do not believe EINVAL will ever be a valid
    error in this instance.

    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