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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0813 Actions


    Problem Report Number 0813
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0328
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1996-07-19 08:00
    Product Standard Commands and Utilities V2 (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSC version 4.1.5
    Test Identification POSIX.cmd/command 39
    Problem Summary TSD4C.00183 This test may fail on implementations that include line numbers in error output.
    Problem Text
    This test may fail on implementations that include line numbers in
    error output.

    The problem here is not caused by the use of command or not, but due
    to the use of shell function error reporting. The .[2753]: and
    .[2752]: is error reporting functionality provided by the shell
    specifying what line an error occured on. The significance of this is
    because mkdir is a shell builtin in our shell. If in the test we use
    /bin/mkdir we do not get the above line error numbers, Of course using
    pathnames in the script is not portable. A way round this problem is
    to do the "mkdir ..." and "command mkdir ..." on the same line
    seperated by a ""

    mkdir ... ; command mkdir ...

    Now on reading the specifications (POSIX2 and XCU4.2) we can find no
    mention of the linenumber error reporting functionality so the
    standard is silent in this matter. Indeed on page 44 of XCU4.2 section
    2.8 Exit Status and Errors, the exact format and content of diagnostic
    messages is not defined for the case of a non-interactive shells.
    Test Output
    TP Start
    Assertion #39 (A): 'command <command_name>' writes to standar
    <LC> d error, exactly as <command_name> does.
    Standard error isn't the same as file 'cmmd_ese_39_2'
    diff of "out.stderr" and "cmmd_ese_39_2":
    *** out.stderr Tue Jun 4 18:33:17 1996
    --- cmmd_ese_39_2 Tue Jun 4 18:33:17 1996
    ***************
    *** 1 ****
    ! /home/vsc/VSC4.1.5/tet_tmp_dir/28501a/command/command.ex[3
    <LC> 390]: .[2753]: mkdir: test_dir_39/AAA: [Permission de
    <LC> nied]
    --- 1 ----
    ! /home/vsc/VSC4.1.5/tet_tmp_dir/28501a/command/command.ex[3
    <LC> 390]: .[2752]: mkdir: test_dir_39/AAA: [Permission de
    <LC> nied]
    FAIL
    IC End

    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