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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0160 Actions


    Problem Report Number 0160
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0160
    Raised 1994-06-10 08:00
    Updated 2003-03-13 08:00
    Published 1994-06-14 08:00
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.3.2
    Test Identification POSIX.os/ioprim/write 13
    Linked Problem Reports PG3.624, (in, old, system)
    Problem Summary TSD4.160 POSIX.os/ioprim/write test 13 should have initialized testfail to zero at the beginning of the test. The problem is that when test #12 failed the variable "testfail" is NOT zero. If test 13 does not r...
    Problem Text

    POSIX.os/ioprim/write test 13 should have initialized testfail to zero
    at the beginning of the test. The problem is that when test #12 failed
    the variable "testfail" is NOT zero. If test 13 does not reinitialize
    "testfail" to zero, test 13 inherits the non-zero value from test 12
    and therefore, test 13 is marked "UNREPORTED" at the end of the test.
    By reinitializing "testfail" to zero, test 13 passes.




    Test Output

    ************************************************************************
    /tset/POSIX.os/ioprim/write/T.write 12 Failed

    Test Description:
    For the XNFS specification:
    Not in use.
    For the XSH specification:
    When writing {PIPE_BUF} or fewer bytes to a pipe or FIFO for which
    the O_NONBLOCK is clear, the calling process will block until
    space is available to complete the write operation
    Posix Ref: Component WRITE Assertion 6.4.2.2-20(A)
    Posix Ref: Component PATHCONF Assertion 5.7.1.2-40(A)

    Test Strategy:
    REPEAT for FIFO and pipe:
    WRITE to FIFO/pipe until no more data can be transferred
    CREATE process pair
    PARENT process:
    WRITE pipe_buf bytes to FIFO/pipe
    CHILD process:
    SLEEP for WAITTIME/2
    READ pipe_buf bytes from FIFO/pipe
    PARENT process:
    VERIFY that write() returns pipe_buf bytes

    Test Information:
    write() returned -1, expected 5120
    errno was set to 4 (EINTR)
    ************************************************************************

    ************************************************************************
    /tset/POSIX.os/ioprim/write/T.write 13 UNREPORTED

    Test Description:
    For the XNFS specification:
    Not in use.
    For the XSH specification:
    When the file's type is a pipe or a FIFO, the O_NONBLOCK flag is
    set, nbyte is greater than {PIPE_BUF} bytes, and at least one byte
    can be written, then a call to write() transfers what it can and
    returns the number of bytes written.
    In XPG3 mode, write() may also return -1, set errno to EAGAIN and
    transfer no data.
    Posix Ref: Component WRITE Assertion 6.4.2.2-21(C)
    Posix Ref: Component PATHCONF Assertion 5.7.1.2-40(A)

    Test Information:
    ************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This is accepted as a test suite fault and it is recommended that a waiver
    is granted on the grounds of a test suite deficiency.

    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