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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2374 Actions


    Problem Report Number 2374
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1225
    Raised 2004-05-14 17:52
    Updated 2004-05-16 15:12
    Published 2004-05-16 15:12
    Product Standard Commands and Utilities V4 (UNIX 03)
    Certification Program The Open Brand certification program
    Test Suite VSC version 5.2.5
    Test Identification POSIX.cmd/getconf 46-51
    Specification Shell and Utilities Issue 6
    Linked Problem Reports 2364
    Problem Summary getconf 46-51 expect behavior not specified by SUSv3.
    Problem Text The comment in the test for #46 states:

    # If POSIX_V6_LP64_OFF64 is supported:
    # getconf -v POSIX_V6_LP64_OFF64 POSIX_V6_LP64_OFF64_CFLAGS will
    write
    # something other than -1 or undefined to standard output
    # otherwise:
    # getconf -v POSIX_V6_LP64_OFF64 POSIX_V6_LP64_OFF64_CFLAGS
    # will write -1 or undefined to standard output.

    There is nothing in the SUSv3 standard that supports the "otherwise"
    clause.

    The standard states:
    If the command:

    getconf -v _POSIX_V6_LP64_OFF64

    does not write "-1" or "undefined" to standard output, then
    commands of the form:

    getconf -v POSIX_V6_LP64_OFF64 _POSIX_V6_LP64_OFF64_CFLAGS

    determine values for the ...

    It says nothing about:
    getconf -v POSIX_V6_LP64_OFF64 _POSIX_V6_LP64_OFF64_CFLAGS
    if
    getconf -v _POSIX_V6_LP64_OFF64

    writes -1 or undefined.

    The suggested fix is to remove the "else" segment of the tests.
    Test Output
    ***********************************************************************
    /tset/POSIX.cmd/getconf/getconf.ex 46 Failed


    Test Information:
    Assertion #46 (C): getconf -v POSIX_V6_LP64_OFF64
    POSIX_V6_LP64_OFF64_CFLAGS
    "^-1$" or "^undefined$" wasn't found in standard output


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


    ***********************************************************************
    /tset/POSIX.cmd/getconf/getconf.ex 47 Failed


    Test Information:
    Assertion #47 (C): getconf -v POSIX_V6_LP64_OFF64
    POSIX_V6_LP64_OFF64_LDFLAGS
    "^-1$" or "^undefined$" wasn't found in standard output


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



    ***********************************************************************
    /tset/POSIX.cmd/getconf/getconf.ex 48 Failed


    Test Information:
    Assertion #48 (C): getconf -v POSIX_V6_LP64_OFF64
    POSIX_V6_LP64_OFF64_LIBS
    "^-1$" or "^undefined$" wasn't found in standard output


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


    ***********************************************************************
    /tset/POSIX.cmd/getconf/getconf.ex 49 Failed


    Test Information:
    Assertion #49 (C): getconf -v POSIX_V6_LPBIG_OFFBIG
    POSIX_V6_LPBIG_OFFBIG_CFLAGS
    "^-1$" or "^undefined$" wasn't found in standard output


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



    ***********************************************************************
    /tset/POSIX.cmd/getconf/getconf.ex 50 Failed


    Test Information:
    Assertion #50 (C): getconf -v POSIX_V6_LPBIG_OFFBIG
    POSIX_V6_LPBIG_OFFBIG_LDFLAGS
    "^-1$" or "^undefined$" wasn't found in standard output


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


    ***********************************************************************
    /tset/POSIX.cmd/getconf/getconf.ex 51 Failed


    Test Information:
    Assertion #51 (C): getconf -v POSIX_V6_LPBIG_OFFBIG
    POSIX_V6_LPBIG_OFFBIG_LIBS
    "^-1$" or "^undefined$" wasn't found in standard output


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

    Review Information

    Review Type TSMA Review
    Start Date 2004-05-14 17:52
    Last Updated 2004-05-14 18:56
    Completed 2004-05-14 18:56
    Status Complete
    Review Recommendation Test Suite Deficiency (TSD)
    Review Response This is accepted as a fault in the test suite.

    Review Type SA Review
    Start Date 2004-05-14 17:56
    Last Updated 2004-05-14 19:21
    Completed 2004-05-14 19:21
    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