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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1545 Actions


    Problem Report Number 1545
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0827
    Raised 2000-08-30 08:00
    Updated 2003-03-13 08:00
    Published 2000-09-18 08:00
    Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSU version 5.0.4
    Test Identification CAPIbase/fattach 13
    Problem Summary TSD4U.00288 These tests may hang on exit, when using a pseudo-tty as the "stream reflector".
    Problem Text
    This IR is for the following tests

    CAPIbase/ffattach 13
    CAPIbase/fdetach 4

    These tests hang our system and requiring a kill SIGINT be sent to the testcase.

    For these tests, the test case exits the master with the slave side of
    the pty open. The master side has data on the read queue and the
    slave side was not opened with nonblock.

    The sequence of the file descriptors happens to attempt to close the
    slave side first. Because there is data on the master side, the slave
    close sleeps waiting for the data on the master side to be read. Since
    this never happens, the close sleeps forever.

    The test case could be modified to either make sure the master side of
    the pty is drained before entering exit. A second alternative would be
    to set the slave into nonblock mode before calling its close.

    Test Output
    TEST CASE: fattach

    TEST PURPOSE #13
    A call to int fattach(int fildes, const char *path)
    shall cause file descriptors referring to path opened
    after the call to refer to the STREAMS file.
    PREP: Open master pseudo tty
    PREP: Determine if pseudo tty is a stream
    PREP: Open slave side of pseudo tty
    PREP: Create file for fattach
    PREP: Attach a STREAM to file
    PREP: Open some references to named file
    PREP: Write known data onto STREAM
    TEST: New descriptors refer to STREAM
    ERROR: Test took longer than 1200 seconds: presuming
    function is hung and terminating test
    ERROR: Children are not responding to SIGABRT
    Send SIGKILL to terminate them
    unexpected signal 2 (SIGINT) received
    13 FAIL

    TEST CASE: fdetach

    TEST PURPOSE #4
    All open file descriptors established while the
    STREAMS file was attached to the file referenced by
    path shall still refer to the STREAMS file after a
    successful call to int fdetach(const char *path).
    PREP: Open master pseudo tty
    PREP: Determine if pseudo tty is a stream
    PREP: Open slave side of pseudo tty
    PREP: Create file for fattach
    PREP: Attach a STREAM to file
    PREP: Write data onto STREAM
    PREP: Open some references to file
    PREP: Detach STREAM from file
    TEST: Open descriptors still refer to STREAM
    unexpected signal 2 (SIGINT) received
    4 UNRESOLVED

    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 fault in the test suite.

    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