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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0315 Actions


    Problem Report Number 0315
    Submitter's Classification Specification problem
    State Resolved
    Resolution Permanent Interpretation (PIN)
    Problem Resolution ID PIN.X.0031
    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/devclass/tcsendbrea 3
    Specification System Interfaces and Headers Issue 4
    Location in Spec See Problem Text
    Linked Problem Reports PG3.614, (in, old, system)
    Problem Summary PIN4.031 POSIX 1003.1-1990 on page 145 line 681 and XPG4 System Interfaces and Headers, Issue 4 page 459 under the description heading for tcsendbreak states that if "duration is not zero, it shall send zero-v...
    Problem Text

    POSIX 1003.1-1990 on page 145 line 681 and XPG4 System Interfaces and
    Headers, Issue 4 page 459 under the description heading for tcsendbreak
    states that if "duration is not zero, it shall send zero-valued bits for
    an implementation-defined period of time." Our implementation-defined
    period of time is zero, and therefore no breaks are sent. We believe the
    test suite is in error.


    Test Output
    ************************************************************************
    /tset/POSIX.os/devclass/tcsendbrea/T.tcsendbrea 3 Failed

    Test Description:
    If general terminal interface supported:
    tcsendbreak(fildes, duration) when duration is negative causes
    transmission of a continuous stream of zero-valued bits for an
    implementation-defined period of time, and shall return zero.
    Posix Ref: Component TCSENDBREAK Assertion 7.2.2.2-05(D)

    Test Strategy:
    OPEN and initialise terminal file and loop back file
    CREATE process pair
    CHILD process:
    CREATE process session using setsid()
    OPEN loop back file as controlling terminal for new session
    SET signal action for SIGINT to be caught
    SLEEP for WAITTIME/2 to allow break to generate SIGINT signal
    PARENT process:
    SLEEP to allow child process to initialise
    SET time out for WAITTIME/2
    SEND a break using tcsendbreak(tty_fildes, -1)
    VERIFY that SIGINT signal was received by process controlled by loop
    back file
    VERIFY that tcsendbreak() returned zero.

    Test Information:
    SIGINT not received
    ************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This is an agreed grey area and a permanent interpretation is recommended.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Permanent Interpretation (PIN)
    Review Conclusion
    A Permanent Interpretation is granted.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority