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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2364 Actions


    Problem Report Number 2364
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0652
    Raised 2004-04-29 13:00
    Updated 2004-05-05 20:44
    Published 2004-05-05 20:44
    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 38, 39, 46-51
    Specification Shell and Utilities Issue 6
    Problem Summary getconf 38, 39, 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 SUVv3 standard that supports the "otherwise"
    clause.

    The standards 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 38 Failed


    Test Information:
    Assertion #38 (C): getconf _POSIX_V6_LP64_OFF64
    "^-1$" or "^undefined$" wasn't found in standard output


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



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


    Test Information:

    Assertion #39 (C): getconf _POSIX_V6_LPBIG_OFFBIG
    "^-1$" or "^undefined$" wasn't found in standard 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-04-29 13:00
    Last Updated 2004-04-29 18:28
    Completed 2004-04-29 18:28
    Status Complete
    Review Recommendation Rejected (REJ)
    Review Response There does appear to be a problem with tests 46-51. However, tests 38
    and 39 do not have the same problem. They are not tests of the -v option.

    The most likely cause of the failures in test 38 and 39 is that the
    configuration variables VSC_LP64_OFF64_SUPPORT and
    VSC_LPBIG_OFFBIG_SUPPORT have been set incorrectly.

    Review Type SA Review
    Start Date 2004-04-29 17:28
    Last Updated 2004-04-30 02:30
    Completed 2004-04-30 02:30
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion It would appear that the issue here is an incorrect configuration
    parameter. If this is corrected all the tests cited may perform as
    expected. Thus the SA does not find the case for a TSD proven on the
    evidence provided on this PR. The applicant may wish to engage the
    support mechanism to further investigate the cause of the problem.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority