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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0622 Actions


    Problem Report Number 0622
    Submitter's Classification Specification problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0226
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published null
    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/echo 1002
    Problem Summary PG4C.00050 The X/Open echo "-n" option semantics are not required by POSIX 1003.2.
    Problem Text
    The X/Open echo "-n" option semantics are not required by POSIX 1003.2.


    The POSIX spec states

    The following operands shall be supported by the implementation:

    string A string to be written to standard output. If the first
    operand is a "-n" or if any of the operands contain
    a backslash (\) character, the results are
    implementation defined.

    But the X/Open spec states

    The following operands are supported:

    string A string to be written to standard output. If any
    operand is "-n", it will be treated as a string, not
    an option.

    It seems to us that this creats a grey area inthe spec.
    Test Output
    200|32 1 21:14:33|TP Start
    520|32 1 28663 1 1|Assertion #1002 (A): Check echo commands with arguments
    520|32 1 28663 1 11|Standard output isn't the same as file 'echo_eso_1002_1'
    520|32 1 28663 1 12|diff of "out.stdout" and "echo_eso_1002_1":
    520|32 1 28663 1 13|*** out.stdout Mon Oct 2 21:14:34 1995
    520|32 1 28663 1 14|--- echo_eso_1002_1 Mon Oct 2 21:14:34 1995
    520|32 1 28663 1 15|***************
    520|32 1 28663 1 16|*** 1 ****
    520|32 1 28663 1 17|! foo
    520|32 1 28663 1 18|\ No newline at end of file
    520|32 1 28663 1 19|--- 1 ----
    520|32 1 28663 1 20|! -n foo
    220|32 1 1 21:14:35|FAIL
    410|32 1002 1 21:14:35|IC End

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We recommend this request be refused.

    We believe the POSIX.2 and X/Open standards are muitually consistent.

    The POSIX spec defines use of -n as implementation specific.

    The X/Open spec takes advantage of this flexibility in the POSIX
    spec to mandate the -n semantics on XCU compliant platforms.

    If an IUT is being X/Open branded it must conform to the XCU mandated
    behavior.

    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