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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0924 Actions


    Problem Report Number 0924
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0439
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1995-09-07 08:00
    Product Standard Commands and Utilities V2 (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSC version 4.1.4
    Test Identification POSIX.shell/shell 638
    Problem Summary TSD4C.00070 This test may fail on all implementations.
    Problem Text
    This test may fail on all implementations.

    This test attempts to execute the sh command via the env command. The
    test performs this as follows:

    env - sh $shellFile1

    Where "shellFile1" contains various "sh" commands. The env command, according
    to the X/Open CAE specification, functions as follows:

    "The env utility will obtain the current environment, modify it
    according to it's arguments, then invoke the utility operand with
    the modified environment"

    The "-" option, according to the X/Open CAE specification, modifies the
    functionality as follows:

    "Invoke the utility with exactly the environment specified by the
    arguments; the inherited environment will be ignored completely."

    In the test, no arguments are specified for "env" and the "-" option is
    specified. Therefore, "env" attempts to invoke the utility "sh" with no
    specified environment and no inherited environment. Since the search path
    "PATH" has been undefined at the time "env" attempts to invoke "sh", the
    "sh" command cannot be found and the test will always fail.
    Test Output
    520|1 1 1687 1 1|Assertion #638 (A):
    When the '-p' option is specified, then a call to 'export' writes
    520|1 1 1687 1 1|Expected exit code = 0; Received 1
    520|1 1 1687 1 2|Standard error isn't empty
    520|1 1 1687 1 3|Contents of out.stderr:
    520|1 1 1687 1 4|test.638.sh1: syntax error at line 2:
    `shellvar2="xyx"$shellvar1$' unexpected
    520|1 1 1687 1 5|test.638.sh2[3]: ./test.638.xp: not found
    520|1 1 1687 1 6|Standard output isn't the same as file 'test.638.ex'
    520|1 1 1687 1 7|*ERROR - JrnlDiff: unable to open or read file "test.638.ex".
    220|1 1 1 00:20:49|FAIL

    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 version(s) 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