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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1874 Actions


    Problem Report Number 1874
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0935
    Raised 1998-02-06 08:00
    Updated 2003-03-13 08:00
    Published 1998-02-11 08:00
    Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.4.2
    Test Identification ANSI.os/signal/signal_X 1
    Problem Summary TSD5.004 This testcase has the following problem; in sigcppair() the return code (status) is set to WTERMSIG(status) when WIFSIGNALED(status) is true. This causes sigcppair() to return the terminating signal i...
    Problem Text
    This testcase has the following problem; in sigcppair() the return
    code (status) is set to WTERMSIG(status) when WIFSIGNALED(status)
    is true. This causes sigcppair() to return the terminating signal
    instead of the status from wait() and test1() is expecting
    the status.

    On our implementation:

    1) SIGFPE is signal 0x08

    2) When _XOPEN_SOURCE_EXTENDED == 1, 0x08 is used as the status to
    signal that the child was continued.

    3) When _XOPEN_SOURCE_EXTENDED == 1 we check to see if the child has
    been CONTINUED (status 0x08) in the WIFSIGNALED macro, therefore we
    cannot use a status of 0x08 for SIGFPE.

    4) The status for a process which was terminated by a signal < 9 has
    0x80 added to it. For SIGFPE that results in a status of 0x88. When
    WTERMSIG is run on a value of 0x88, 0x08 is the result, the signal
    number for SIGFPE. When WIFSIGNALED is run on 0x88 it returns TRUE,
    when it is run on 0x08 it returns FALSE.

    This test runs WTERMSIG on the status(0x88), returns that
    result(0x08), which is then tested with WIFSIGNALED which to our
    implementation means that the process that the status is for has
    been continued.
    Test Output
    ************************************************************************
    /tset/ANSI.os/signal/signal_X/T.signal_X 1 Failed

    Test Description:
    process terminated upon receipt of signal if SIG_DFL specified as
    signal handling function and the default action for the signal is to
    terminate the process;

    Test Strategy:
    INITIALISE sig_array[] using vsx_sigs().
    FOR each of the signals
    CREATE child
    SET the signal catching function to SIG_DFL using signal()
    SEND the signal to the child process
    VERIFY that the child process is terminated

    Test Information:
    SIGFPE: child was not terminated by signal

    ************************************************************************

    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 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