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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2527 Actions


    Problem Report Number 2527
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Permanent Interpretation (PIN)
    Problem Resolution ID PIN.X.0279
    Raised 2006-12-14 08:31
    Updated 2006-12-18 14:08
    Published 2006-12-18 14:08
    Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.6.6
    Test Identification POSIX.os/devclass/tcflow 15, 16
    Specification Base Definitions Issue 6
    Linked Problem Reports 0296
    Problem Summary Our systems do not have dual serial ports, so psuedo terminals are used
    to test the general terminal interface, but START and STOP characters
    are not passed in the data stream.
    Problem Text As described in Problems Report 0296 (PIN.X.0012) for UNIX 95, Two
    general terminal interface tests fail when START and STOP characters are
    not included in the data stream for UNIX 2003 system when psuedo
    terminals are used to test the general terminal interface.
    Test Output /tset/POSIX.os/devclass/tcflow/T.tcflow 15 Failed
    Test Description:
    If general terminal interface supported:
    when tcflow() is called from a background process, that is blocking
    the SIGTTOU signal, and when fildes refers to a non-controlling
    terminal, the tcflow actions shall be performed.
    Posix Ref: Component TCFLOW Assertion 7.2.2.2-X4(C)
    Test Strategy:
    OPEN and initialise terminal file and loop back file
    For each action TCOON, TCOOFF, TCION, TCIOFF:
    RESTART output of data to loop back file using tcflow() using TCOON
    If action is TCOON:
    SET time out for WAITTIME
    SUSPEND output of data to loop back file using tcflow() using
    TCOOFF
    CREATE child process
    CHILD process:
    CREATE new background process group using setpgid(0, 0)
    SET signal action for SIGTTOU to signal catching function
    BLOCK signal SIGTTOU using sigprocmask()
    CREATE process pair
    CHILD process:
    SET signal action for signal SIGTTOU to signal catching function
    SLEEP for WAITTIME/2 (to receive signal, if any)
    PARENT process:
    CALL tcflow() for the current action
    VERIFY that SIGTTOU signal was not received by child process
    VERIFY that tcflow() returned zero.
    SET time out for WAITTIME
    WRITE data to loop back file using write()
    IF action is TCOOFF and terminal output is not buffered
    VERIFY write timed out
    ELSE
    VERIFY that write returned the size of data written
    SLEEP for a short interval to allow data to be available for reading
    SET time out for WAITTIME
    READ from loop back file using read()
    VERIFY that read did not time out
    If action is TCOOFF:
    VERIFY that read did not return any data
    If action is TCOON:
    VERIFY that read returned size of data written
    If action is not TCIOFF:
    VERIFY that loop back stop character was not read
    If action is TCIOFF:
    VERIFY that loop back stop character was read
    If action is not TCION:
    VERIFY that loop back start character was not read
    If action is TCION:
    VERIFY that loop back start character was read
    Test Information:
    tcflow(TCIOFF) action was not performed
    tcflow(TCION) action was not performed

    /tset/POSIX.os/devclass/tcflow/T.tcflow 16 Failed
    Test Description:
    If general terminal interface supported:
    when tcflow() is called from a background process, that is ignoring
    the SIGTTOU signal, and when fildes refers to a non-controlling
    terminal, the tcflow actions shall be performed.
    Posix Ref: Component TCFLOW Assertion 7.2.2.2-X5(C)
    Test Strategy:
    OPEN and initialise terminal file and loop back file
    For each action TCOON, TCOOFF, TCION, TCIOFF:
    RESTART output of data to loop back file using tcflow() using TCOON
    If action is TCOON:
    SET time out for WAITTIME
    SUSPEND output of data to loop back file using tcflow() using
    TCOOFF
    CREATE child process
    CHILD process:
    CREATE new background process group using setpgid(0, 0)
    SET signal action for SIGTTOU to SIG_IGN
    CREATE process pair
    CHILD process:
    SET signal action for signal SIGTTOU to signal catching function
    SLEEP for WAITTIME/2 (to receive signal, if any)
    PARENT process:
    CALL tcflow() for the current action
    VERIFY that SIGTTOU signal was not received by child process
    VERIFY that tcflow() returned zero.
    SET time out for WAITTIME
    WRITE data to loop back file using write()
    IF action is TCOOFF and terminal output is not buffered
    VERIFY write timed out
    ELSE
    VERIFY that write returned the size of data written
    SLEEP for a short interval to allow data to be available for reading
    SET time out for WAITTIME
    READ from loop back file using read()
    VERIFY that read did not time out
    If action is TCOOFF:
    VERIFY that read did not return any data
    If action is TCOON:
    VERIFY that read returned size of data written
    If action is not TCIOFF:
    VERIFY that loop back stop character was not read
    If action is TCIOFF:
    VERIFY that loop back stop character was read
    If action is not TCION:
    VERIFY that loop back start character was not read
    If action is TCION:
    VERIFY that loop back start character was read
    Test Information:
    tcflow(TCIOFF) action was not performed
    tcflow(TCION) action was not performed

    Review Information

    Review Type TSMA Review
    Start Date 2006-12-14 08:31
    Last Updated 2006-12-14 17:48
    Completed 2006-12-14 17:48
    Status Complete
    Review Recommendation Permanent Interpretation (PIN)
    Review Response This is a known issue for which a PIN was granted for XPG4 (PR0296). A
    similar XPG4 PIN for other tcflow() tests has already been reissued for
    UNIX03 as PR2516. This request is effectively a reissue of PR0296 and so
    should be granted as well.

    Review Type SA Review
    Start Date 2006-12-14 17:48
    Last Updated 2006-12-15 01:57
    Completed 2006-12-15 01:57
    Status Complete
    Review Resolution Permanent Interpretation (PIN)
    Review Conclusion This PR is related to PR0296 and is thus reissued as a granted permanent
    interpretation

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority