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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2738 Actions


    Problem Report Number 2738
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1430
    Raised 2022-05-21 05:41
    Updated 2022-05-23 12:33
    Published 2022-05-23 12:33
    Product Standard Commands and Utilities V4 (UNIX 03)
    Certification Program The Open Brand certification program
    Test Suite VSC version 5.3.21NW
    Test Identification /tset/POSIX.cmd/command/command.ex Assertion 51
    Specification Shell and Utilities Issue 6
    Location in Spec https://pubs.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_03.html
    Problem Summary The test for GA 39 for the command utility (Assertion 51) does not actually test the command

    utility.
    Problem Text The test suite code contains the following shell commands:







    > exec 3>&1



    > (



    > trap "" PIPE



    > sleep 2



    > $cmd true



    > echo exitstatus \$? >&3



    > ) | true







    Since "command true" does not produce any standard output, the subshell writes to stdout by

    using "echo" But this then becomes a test of echo, not of command..
    Test Output 400|25 51 1 23:46:27|IC Start



    200|25 49 23:46:27|TP Start



    520|25 49 87897 1 1|Assertion #51 (A): GA39: Error causes message to standard error and non-

    zero exit



    520|25 49 87897 2 1|Standard error is empty



    520|25 49 87897 2 2|"exitstatus [^0]" wasn't found in standard output



    220|25 49 1 23:46:33|FAIL



    410|25 51 1 23:46:33|IC End





    Review Information

    Review Type TSMA Review
    Start Date 2022-05-21 05:41
    Last Updated 2022-05-23 09:54
    Completed 2022-05-23 09:54
    Status Complete
    Review Recommendation Test Suite Deficiency (TSD)
    Review Response This is accepted as a fault in the test suite.

    Note that the fault is not correctly identified by the submitter. The
    actual fault is simply that the -v option for "command" is missing.
    I.e. the line:

    $cmd true

    should be:

    $cmd -v true

    Review Type SA Review
    Start Date 2022-05-23 17:54
    Last Updated 2022-05-23 12:33
    Completed 2022-05-23 12:33
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion A test suite deficiency is granted

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority