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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2524 Actions


    Problem Report Number 2524
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1306
    Raised 2006-10-05 08:02
    Updated 2006-10-13 00:34
    Published 2006-10-13 00:34
    Product Standard Internationalised System Calls and Libraries Extended (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.6.6
    Test Identification /tset/ANSI.hdr/misc/stdlib_X/T.stdlib_X 76
    /tset/ANSI.hdr/misc/stdlib_X/T.stdlib_X 77
    Problem Summary stdlib_x assertion 76 and 77 macros should only require compile
    -D_XOPEN_SOURCE_EXTENDED to be set for UNIX 95 compatibility if XPG4
    support is not claimed.
    Problem Text This issue was discovered with a new test included with the release of
    VSX 4.6.6. Our stdlib.h header defines the WEXITSTATUS(), WIFEXITED(),
    WIFSIGNALED(), WIFSTOPPED(), WSTOPSIG() WTERMSIG(),WNOHANG and WUNTRACED
    macros when compiled with -D_XOPEN_SOURCE_EXTENDED and doesn't define
    them when only -D_XOPEN_SOURCE is set. We do not claim support of XPG4.
    We believe it should be sufficient to require only -D_XOPEN_SOURCE_EXTENDED.
    Test Output /tset/ANSI.hdr/misc/stdlib_X/T.stdlib_X 76 Failed
    Test Description:
    The header file contains the macro definitions WEXITSTATUS(),
    WIFEXITED(), WIFSIGNALED(), WIFSTOPPED(), WSTOPSIG() and WTERMSIG().
    Note: This test is not executed in POSIX modes.
    Test Strategy:
    COMPILE program including .
    VERIFY macro name exists using #ifndef.
    VERIFY there were no compiler errors.
    Test Information:
    Feature test macros: -D_XOPEN_SOURCE
    Compiler or run-time messages or results:
    Undefined macro: WEXITSTATUS
    Undefined macro: WIFEXITED
    Undefined macro: WIFSIGNALED
    Undefined macro: WIFSTOPPED
    Undefined macro: WSTOPSIG
    Undefined macro: WTERMSIG
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_SOURCE
    Compiler or run-time messages or results:
    Undefined macro: WEXITSTATUS
    Undefined macro: WIFEXITED
    Undefined macro: WIFSIGNALED
    Undefined macro: WIFSTOPPED
    Undefined macro: WSTOPSIG
    Undefined macro: WTERMSIG
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=1
    Compiler or run-time messages or results:
    Undefined macro: WEXITSTATUS
    Undefined macro: WIFEXITED
    Undefined macro: WIFSIGNALED
    Undefined macro: WIFSTOPPED
    Undefined macro: WSTOPSIG
    Undefined macro: WTERMSIG
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=2
    Compiler or run-time messages or results:
    Undefined macro: WEXITSTATUS
    Undefined macro: WIFEXITED
    Undefined macro: WIFSIGNALED
    Undefined macro: WIFSTOPPED
    Undefined macro: WSTOPSIG
    Undefined macro: WTERMSIG
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=1
    Compiler or run-time messages or results:
    Undefined macro: WEXITSTATUS
    Undefined macro: WIFEXITED
    Undefined macro: WIFSIGNALED
    Undefined macro: WIFSTOPPED
    Undefined macro: WSTOPSIG
    Undefined macro: WTERMSIG
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=2
    Compiler or run-time messages or results:
    Undefined macro: WEXITSTATUS
    Undefined macro: WIFEXITED
    Undefined macro: WIFSIGNALED
    Undefined macro: WIFSTOPPED
    Undefined macro: WSTOPSIG
    Undefined macro: WTERMSIG

    /tset/ANSI.hdr/misc/stdlib_X/T.stdlib_X 77 Failed
    Test Description:
    The header file contains definitions for the symbolic constants
    WNOHANG and WUNTRACED which are bitwise exclusive.
    Note: This test is not executed in POSIX modes.
    Test Strategy:
    COMPILE program including .
    VERIFY symbolic constant exists using #ifdef.
    VERIFY constants are bitwise exclusive
    Test Information:
    Feature test macros: -D_XOPEN_SOURCE
    Compiler or run-time messages or results:
    Undefined macro: WNOHANG
    Undefined macro: WUNTRACED
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_SOURCE
    Compiler or run-time messages or results:
    Undefined macro: WNOHANG
    Undefined macro: WUNTRACED
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=1
    Compiler or run-time messages or results:
    Undefined macro: WNOHANG
    Undefined macro: WUNTRACED
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=2
    Compiler or run-time messages or results:
    Undefined macro: WNOHANG
    Undefined macro: WUNTRACED
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=1
    Compiler or run-time messages or results:
    Undefined macro: WNOHANG
    Undefined macro: WUNTRACED
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=2
    Compiler or run-time messages or results:
    Undefined macro: WNOHANG
    Undefined macro: WUNTRACED

    Review Information

    Review Type TSMA Review
    Start Date 2006-10-05 08:02
    Last Updated 2006-10-05 18:25
    Completed 2006-10-05 18:25
    Status Complete
    Review Recommendation Test Suite Deficiency (TSD)
    Review Response This is accepted as a fault in the test suite.

    The underlying problem is that VSX4 is used in XPG4 mode for testing
    UNIX95. It doesn't have a UNIX95 test mode. In the past this has not
    been a problem because the only difference between XPG4 and SUSv1 is the
    addition of new interfaces, and implementors who certified UNIX95 had
    previously certified XPG4 and continued to support XPG4. It appears
    that XPG4 is now so old that implementors no longer feel the need to
    support it, and this shortcut in VSX4 is nonger viable. Support for the
    UNIX95 test mode needs to be added in a future VSX4 release.

    Review Type SA Review
    Start Date 2006-10-05 17:25
    Last Updated 2006-10-07 01:06
    Completed 2006-10-07 01:06
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion This PR represents and agreed test suite deficiency.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority