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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1263 Actions


    Problem Report Number 1263
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0545
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1999-05-04 08:00
    Product Standard Sockets (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSU version 5.0.3
    Test Identification CAPIbase/sigaction 32
    Problem Summary TSD4U.00273 This test may fail on implementations because the single getpmsg() may not cause the low water mark to be reached to cause a SIGPOLL.
    Problem Text
    We believe an earlier change made to this test was in error:

    According to page 406 (ioctl()) of the XPG5 XSH Specification:

    "I_SETSIG

    .
    .
    .

    S_OUTPUT The write queue for normal data (priority band 0) just below
    the STREAM head is no longer full. This notifies the process
    that there is room on the queue for sending (or writing) normal
    data downstream."

    This test is trying to generate SIGPOLL for the above case. However, the write
    queue just below the STREAM head is always full.

    Here is the scenario in our implementation:

    It writes data on one-side of pty using putpmsg() in loop to create
    flow-control situation. So, there will data on read-queues of other-side of
    pty and data on write queue (just below the STREAM head). All of these
    queues will be full. Now, the getpmsg() only reads one message
    (512-bytes in size). So, the remaining size doesn't fall below low
    water-mark and so the flow-control situation remains. Meanwhile, the
    write-queue just below the STREAM head is still full and so the SIGPOLL is
    not generated.


    Test Output
    TEST CASE: sigaction

    TEST PURPOSE #32
    After a call to int sigaction(int sig, const struct
    sigaction *act, struct sigaction *oact) with
    SA_SIGINFO set in the sa_flags member of the sigaction
    structure pointed to by act and sig equal to SIGPOLL,
    on entry to the signal catching function specified by
    the sa_sigaction member when output buffers are
    available the si_code member of the structure pointed
    to by the siginfo argument shall contain POLL_OUT and
    the si_band member shall contain the band event.
    PREP: Open master pseudo tty
    PREP: Determine if pseudo tty is a stream
    PREP: Open slave side of pseudo tty
    PREP: Set up action for SIGPOLL
    PREP: Register for SIGPOLL
    PREP: Set O_NONBLOCK on read and write end of STREAM
    PREP: Generate SIGPOLL
    ERROR: SIGPOLL was not generated
    32 FAIL



    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We agree this is a test suite deficiency in the test
    suite version(s) listed.

    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