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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0182 Actions


    Problem Report Number 0182
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0182
    Raised 1994-08-08 08:00
    Updated 2003-03-13 08:00
    Published 1994-08-15 08:00
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.3.4
    Test Identification POSIX.os/procprim/exec 13
    Problem Summary TSD4.182 This problem is being caused by getenv() being used in a non-portable manner in exec_tgen.c of POSIX.os/procprim/exec. In function subtest13(), the values of two environment variables LOWER_ENV and UP...
    Problem Text
    This problem is being caused by getenv() being used in a non-portable
    manner in exec_tgen.c of POSIX.os/procprim/exec. In function
    subtest13(), the values of two environment variables LOWER_ENV and
    UPPER_ENV are obtained, one after the other. Obviously, the test
    assumes that getenv() is going to return different character pointers
    for each call. This cannot be expected according to the standard which
    states "The string pointed to shall not be modified by the program, but
    maybe overwritten by a subsequent call to the {getenv} function". Our
    implementation used the same storage for each return value, hence the
    string returned for the LOWER_ENV variable was overwritten by the string
    returned for the UPPER_ENV variable.

    The error is causing erroneous failures to be reported in the
    following tests:

    POSIX.os/procprim/exec/T.execl 13
    POSIX.os/procprim/exec/T.execle 13
    POSIX.os/procprim/exec/T.execlp 13
    POSIX.os/procprim/exec/T.execv 13
    POSIX.os/procprim/exec/T.execve 13
    POSIX.os/procprim/exec/T.execvp 13
    Test Output
    /tset/POSIX.os/procprim/exec/T.execl 13 Failed

    Test Description:
    Upper and lower case letters in the environment retain their unique
    identities.
    Posix Ref: Component EXECL Assertion 3.1.2.2-16(A)

    Test Strategy:
    CREATE child process
    CHILD process:
    INITIALISE environment variables UPPER_ENV and LOWER_ENV containing
    upper and lower case letters
    CALL execl()
    VERIFY that execl() does not return
    IN new process:
    OBTAIN values for environment variables UPPER_ENV and LOWER_ENV
    VERIFY that upper and lower case letters in environment variables
    are correct

    Test Information:
    Lower case letters "abcde" in environment
    altered to "ABCDE"

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This is accepted as a fault in the test suite and it is recommended that
    a waiver is granted on the grounds of a test suite deficiency.

    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