Problem Report 0002 Details

Help Show help | Quick Search | Click here to view your privileges

This page provides all information on Problem Report 0002 and all reviews you are authorized to see.


Report 0002 Actions


    Problem Report Number 0002
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.PX.0001
    Raised 2004-03-16 03:40
    Updated 2004-03-16 17:49
    Published 2004-03-16 17:49
    Product Standard 1003.1-2003 System Interfaces
    Certification Program POSIX Certified by IEEE and The Open Group
    Test Suite VSX-PCTS2003 version 1.0
    Test Identification POSIX.hdr/misc/signal/T.signal 6
    Problem Summary signal.h test references bogus symbol
    Problem Text The signal.h header test references the symbol SIGSTP, which is
    presumably a typo for SIGSTOP. This causes the test to fail to compile
    Test Output /tset/POSIX.hdr/misc/signal/T.signal 6 Failed

    Test Description:
    If _POSIX_JOB_CONTROL is defined in the header file <unistd.h> then
    the signal constants SIGABRT, SIGALRM, SIGFPE, SIGHUP, SIGILL, SIGINT,
    SIGKILL, SIGPIPE, SIGQUIT, SIGSEGV, SIGTERM, SIGUSR1, SIGUSR2,
    SIGCHLD, SIGCONT, SIGSTOP, SIGTSTP, SIGTTIN and SIGTTOU shall have
    unique positive integral values
    otherwise
    the signal constants SIGABRT, SIGALRM, SIGFPE, SIGHUP, SIGILL, SIGINT,
    SIGKILL, SIGPIPE, SIGQUIT, SIGSEGV, SIGTERM, SIGUSR1 and SIGUSR2 shall
    have unique positive integral values.
    Posix Ref: Component Signal Concepts Assertion 3.3.1.1-05(A)

    Test Strategy:
    INCLUDE header file <unistd.h>
    VERIFY signal constant exists using #ifndef.
    VERIFY that each value is distinct.
    VERIFY there were no compiler errors.

    Test Information:
    Compilation exited with non-zero value when expected to succeed
    Feature test macros: -D_POSIX_C_SOURCE=200112
    Compiler or run-time messages or results:
    "cc06es.c", line 109: error #20: identifier "SIGSTP" is undefined
    list[i].connt = SIGSTP;
    ^
    Compilation exited with non-zero value when expected to succeed
    Feature test macros: -D_POSIX_C_SOURCE=200112 -D_POSIX_SOURCE
    Compiler or run-time messages or results:
    "cc06es.c", line 109: error #20: identifier "SIGSTP" is undefined
    list[i].connt = SIGSTP;
    ^

    Review Information

    Review Type TSMA Review
    Start Date 2004-03-16 03:40
    Last Updated 2004-03-16 17:34
    Completed 2004-03-16 17:34
    Status Complete
    Review Recommendation Test Suite Deficiency (TSD)
    Review Response This is accepted as a fault in the test suite.

    (The reason this does not fail on other systems is because the test does
    not #include <unistd.h>, so the #ifdef _POSIX_JOB_CONTROL is normally
    not satisfied.)

    Review Type SA Review
    Start Date 2004-03-16 17:34
    Last Updated 2004-03-16 17:49
    Completed 2004-03-16 17:49
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion A test suite deficiency is granted.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority