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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1311 Actions


    Problem Report Number 1311
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0593
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1998-05-12 08:00
    Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSU version 5.0.2
    Test Identification CAPIbase/ftruncate 18
    Problem Summary TSD4U.00225 These tests may fail on an implementation that supports neither a 64-bit build or execution environment.
    Problem Text
    The following tests fail on an implementation that supports neither a
    64-bit build or execution enviroment.

    CAPIbase/ftruncate 18
    CAPIbase/lockf 42, 43, 44
    CAPIbase/lstat 33
    CAPIbase/mmap 41
    CAPIbase/readv 70,71,72
    CAPIbase/writev 75,76,77

    The makefiles for each of these test the following:

    if [ "`getconf _XBS5_LP64_OFF64`" != "-1" ] &&
    [ "`getconf _XBS5_LP64_OFF64`" != "unsupported" ]

    and

    if [ "`getconf _XBS5_LPBIG_OFFBIG`" != "-1" ] &&
    [ "`getconf _XBS5_LPBIG_OFFBIG`" != "unsupported" ]

    Because on the implementation under test, "getconf _XBS5_LP64_OFF64"
    and "getconf _XBS5_LPBIG_OFFBIG" return "undefined", the above tests
    pass expecting that the behavior is supported. The test then continues
    by calling c89 with `getconf(XBS5_LP64_OFF64_CFLAGS)` which fails
    because XBS5_LP64_OFF64_CFLAGS is not a valid argument on the system under
    test. (Note that we recognize that the XBS5 names should all be valid no
    matter what the implementation and this will be fixed, however, the root
    cause of this failure, which is an incorrectly coded makefile is still
    valid regardless.)

    The XCU5 getconf specification states under OPTIONS:

    If the command:

    getconf _XBS5_LP64_OFF64

    does not write "-1\n" or "undefined\n" to standard output,
    ...

    and under STDOUT:

    If the specified variable is valid, but is undefined on
    the system, getconf will write using the following
    format:

    "undefined\n"

    These tests should be testing for "-1" and "undefined", not "unsupported".
    Test Output
    TEST CASE: ftruncate

    Build tool error 1 on build of file /tset/CAPIbase/fftruncate/fftruncate18
    getconf: Invalid argument (XBS5_LP64_OFF64_CFLAGS)
    TEST CASE: ftruncate

    Build tool error 1 on build of file /tset/CAPIbase/fftruncate/fftruncate18
    getconf: Invalid argument (XBS5_LP64_OFF64_CFLAGS)
    *** Error code 1
    The following command caused the error:
    if [ "98" ] ;
    then
    if [ "98" != 95 ] ;
    then
    if [ "0" ] ;
    then
    if [ "0" = 1 ] ;
    Compiler output truncated at 10 lines, 73 lines produced

    TEST PURPOSE #18
    18 UNINITIATED

    TEST CASE: lockf

    Build tool error 1 on build of file /tset/CAPIbase/flockf/flockf42
    getconf: Invalid argument (XBS5_LP64_OFF64_CFLAGS)
    *** Error code 1
    The following command caused the error:
    if [ "98" ] ;
    then
    if [ "98" != 95 ] ;
    then
    if [ "0" ] ;
    then
    if [ "0" = 1 ] ;
    Compiler output truncated at 10 lines, 73 lines produced

    Build tool error 1 on build of file /tset/CAPIbase/flockf/flockf43
    getconf: Invalid argument (XBS5_LP64_OFF64_CFLAGS)
    *** Error code 1
    The following command caused the error:
    if [ "98" ] ;
    then
    if [ "98" != 95 ] ;
    then
    if [ "0" ] ;
    then
    if [ "0" = 1 ] ;
    Compiler output truncated at 10 lines, 73 lines produced

    Build tool error 1 on build of file /tset/CAPIbase/flockf/flockf44
    getconf: Invalid argument (XBS5_LP64_OFF64_CFLAGS)
    *** Error code 1
    The following command caused the error:
    if [ "98" ] ;
    then
    if [ "98" != 95 ] ;
    then
    if [ "0" ] ;
    then
    if [ "0" = 1 ] ;
    Compiler output truncated at 10 lines, 73 lines produced

    TEST PURPOSES #42 to #44 UNINITIATED

    TEST CASE: lstat

    Build tool error 1 on build of file /tset/CAPIbase/flstat/flstat33
    getconf: Invalid argument (XBS5_LP64_OFF64_CFLAGS)
    *** Error code 1
    The following command caused the error:
    if [ "98" ] ;
    then
    if [ "98" != 95 ] ;
    then
    if [ "0" ] ;
    then
    if [ "0" = 1 ] ;
    Compiler output truncated at 10 lines, 74 lines produced

    TEST PURPOSE #33
    33 UNINITIATED

    TEST CASE: mmap

    Build tool error 1 on build of file /tset/CAPIbase/fmmap/fmmap41
    getconf: Invalid argument (XBS5_LP64_OFF64_CFLAGS)
    *** Error code 1
    The following command caused the error:
    if [ "98" ] ;
    then
    if [ "98" != 95 ] ;
    then
    if [ "0" ] ;
    then
    if [ "0" = 1 ] ;\
    Compiler output truncated at 10 lines, 73 lines produced

    TEST PURPOSE #41
    41 UNINITIATED

    TEST CASE: readv

    Build tool error 1 on build of file /tset/CAPIbase/freadv/freadv70
    getconf: Invalid argument (XBS5_LP64_OFF64_CFLAGS)
    *** Error code 1
    The following command caused the error:
    if [ "98" ] ;
    then
    if [ "98" != 95 ] ;
    then
    if [ "0" ] ;
    then
    if [ "0" = 1 ] ;
    Compiler output truncated at 10 lines, 73 lines produced

    Build tool error 1 on build of file /tset/CAPIbase/freadv/freadv71
    getconf: Invalid argument (XBS5_LP64_OFF64_CFLAGS)
    *** Error code 1
    The following command caused the error:
    if [ "98" ] ;
    then
    if [ "98" != 95 ] ;
    then
    if [ "0" ] ;
    then
    if [ "0" = 1 ] ;
    Compiler output truncated at 10 lines, 73 lines produced

    Build tool error 1 on build of file /tset/CAPIbase/freadv/freadv72
    getconf: Invalid argument (XBS5_LP64_OFF64_CFLAGS)
    *** Error code 1
    The following command caused the error:
    if [ "98" ] ;
    then
    if [ "98" != 95 ] ;
    then
    if [ "0" ] ;
    then
    if [ "0" = 1 ] ;
    Compiler output truncated at 10 lines, 73 lines produced

    TEST PURPOSES #70 to #72 UNINITIATED

    TEST CASE: writev

    Build tool error 1 on build of file /tset/CAPIbase/fwritev/fwritev75
    getconf: Invalid argument (XBS5_LP64_OFF64_CFLAGS)
    *** Error code 1
    The following command caused the error:
    if [ "98" ] ;
    then
    if [ "98" != 95 ] ;
    then
    if [ "0" ] ;
    then
    if [ "0" = 1 ] ;
    Compiler output truncated at 10 lines, 73 lines produced

    Build tool error 1 on build of file /tset/CAPIbase/fwritev/fwritev76
    getconf: Invalid argument (XBS5_LP64_OFF64_CFLAGS)
    *** Error code 1
    The following command caused the error:
    if [ "98" ] ;
    then
    if [ "98" != 95 ] ;
    then
    if [ "0" ] ;
    then
    if [ "0" = 1 ] ;
    Compiler output truncated at 10 lines, 73 lines produced

    Build tool error 1 on build of file /tset/CAPIbase/fwritev/fwritev77
    getconf: Invalid argument (XBS5_LP64_OFF64_CFLAGS)
    *** Error code 1
    The following command caused the error:
    if [ "98" ] ;
    then
    if [ "98" != 95 ] ;
    then
    if [ "0" ] ;
    then
    if [ "0" = 1 ] ;
    Compiler output truncated at 10 lines, 73 lines produced

    TEST PURPOSES #75 to #77 UNINITIATED

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We agree this is a Test Suite Deficiency in the test suite versions listed.

    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