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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1044 Actions


    Problem Report Number 1044
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0283
    Raised 2001-01-26 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Commands and Utilities V3 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSC version 5.1.1
    Test Identification XOPEN.cmd/ipcs 1083
    Problem Summary PG4C.00135 The ipcs output shown in the test result does not match the XCU5 specification as amended by corrigendum U032.
    Problem Text

    This test may fail on implementations because the incorrect
    semaphore set size is being checked.

    The test is attempting to verify that the proper sempaphore size
    is displayed when a specific semaphore is checked.

    During the setup of the test, the sem_ID semaphore set is created
    with a size of 2 (-NumSems 2) as shown in the ipcs_startup() code below:

    ipcs_semget2="Semget -Key $keyvalue2 -NumSems 2 -Permissions 0624 -Use"
    ...
    #
    # Setup a semaphore that has not been used yet
    #
    sem_ID=$($ipcs_semget)
    if [ $? != 0 ] || [ "$sem_ID" = "-1" ]
    then
    delete_all "ERROR: $ipcs_semget returned $sem_ID"
    return 1
    else
    sem_KEY=$keyvalue
    sem_MODE=--ra--a-r--
    sem_OWNER=$(GetConfig VSC_TESTER)
    sem_GROUP=$(GetConfig VSC_GRP_NAME_1)
    sem_NSEMS=2

    When calling check_field, the test improperly checks for "1" in field
    7 rather than "2" when selecting the sem_ID line as shown in the code
    in tp1083 below:

    check_field 7 "1" "$(select_id $sem_ID "$lines")" > $CT_STDOUT 2>
    $CT_STDERR

    As a result, the comparison fails, and the test fails.

    Specifically, in tp1083 change,

    check_field 7 "1" "$(select_id $sem_ID "$lines")" > $CT_STDOUT 2>
    $CT_STDERR

    to

    check_field 7 "2" "$(select_id $sem_ID "$lines")" > $CT_STDOUT 2>
    $CT_STDERR

    Test Output

    ***********************************************************************
    /tset/XOPEN.cmd/ipcs/ipcs.ex 1 Failed

    Test Information:
    Assertion #1083 (A): NSEMS is %d
    TEST: all lines
    TEST: semaphore 146
    ERROR: Field 7 did not match regular expression:
    1
    Detail line contained:
    s 146 0xbeefbeef --ra--a-r-- vsctest users 2 no-entry 4:4
    <LC> 4:12
    Expected exit code = 0; Received 1

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

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    It is true that there is a fault in this test, however the test output
    also shows that the implementation is not compliant. The requirements
    for output of the ipcs command were amended in corrigendum U032 (March
    1998). On systems which correctly implement the amended specification
    this test fails differently. The failure is covered by PIN4C.00045.

    It is recommended that this request is refused.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion
    This request is refused.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority