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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2452 Actions


    Problem Report Number 2452
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1277
    Raised 2005-03-10 22:38
    Updated 2005-03-15 18:44
    Published 2005-03-15 18:44
    Product Standard Commands and Utilities V4 (UNIX 03)
    Certification Program The Open Brand certification program
    Test Suite VSC version 5.2.6
    Test Identification POSIX.annexA/c99 101
    Specification Shell and Utilities Issue 6
    Location in Spec 18844(pdf version)
    Problem Summary incorrect check on getconf return value
    Problem Text This failure occurs because of incorrect return value from chksupport()

    The test has the following call in it:

    if ! chksupport _POSIX_TRACE
    then
    SetResult $TET_UNTESTED
    return
    fi


    chksupport does the following check
    if ! chks_val="`getconf $chks_var 2> err$$`"
    then
    JrnlMsg "getconf error for $chks_var"
    JrnlFile err$$
    rm -rf err$$
    return 1
    fi

    if test "$chks_val" = "undefined"
    then
    JrnlMsg "$chks_var not supported"
    return 1
    fi

    The "undefined" check needs also consider the case when getconf returns
    -1. On our system <unistd.h> has the following

    #define _POSIX_TRACE (-1)

    and getconf returns

    $ getconf _POSIX_TRACE
    -1

    This matches the requirements of the SUSv3 TC2 standard, getconf stdout
    section

    Otherwise, if the specified variable is defined on the system, its value
    shall be written in the following format:

    "%d\n", <value>
    Test Output ********************************************************************
    /tset/POSIX.annexA/c99/c99.ex 101 Failed


    Test Information:
    Assertion #101 (C):
    c99 failed
    Contents of c99_101_err:

    "c99_101_main.c", line 1.10: 1506-296 (S) #include file
    <trace.h> not
    found.
    "c99_101_main.c", line 6.22: 1506-275 (S) Unexpected text attr
    encountered.
    "c99_101_main.c", line 6.9: 1506-045 (S) Undeclared identifier
    trace_attr_t.
    "c99_101_main.c", line 7.20: 1506-275 (S) Unexpected text trid
    encountered.
    "c99_101_main.c", line 7.9: 1506-045 (S) Undeclared identifier
    trace_id_t.
    "c99_101_main.c", line 9.36: 1506-045 (S) Undeclared identifier
    attr.
    "c99_101_main.c", line 9.13: 1506-045 (I) Undeclared identifier
    posix_trace_attr_init.
    "c99_101_main.c", line 11.58: 1506-045 (S) Undeclared identifier
    trid.
    "c99_101_main.c", line 11.21: 1506-045 (I) Undeclared identifier
    posix_trace_create.
    "c99_101_main.c", line 12.32: 1506-045 (I) Undeclared identifier
    posix_trace_shutdown.
    "c99_101_main.c", line 14.24: 1506-045 (I) Undeclared identifier
    posix_trace_attr_destroy.


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

    Review Information

    Review Type TSMA Review
    Start Date 2005-03-10 22:38
    Last Updated 2005-03-10 23:05
    Completed 2005-03-10 23:05
    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 2005-03-10 23:05
    Last Updated 2005-03-11 01:52
    Completed 2005-03-11 01:52
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion This PR represents an agreed test suite deficiency.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority