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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0735 Actions


    Problem Report Number 0735
    Submitter's Classification Specification problem
    State Resolved
    Resolution Temporary Interpretation (TIN)
    Problem Resolution ID TIN.X.0026
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1995-11-08 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.cmd/expr 10
    Specification Commands and Utilities Issue 4 Version 2
    Location in Spec See Problem Text
    Problem Summary TIN4C.00035 The test may fail on implementations that adhere to POSIX.2b behavior and generate an empty line instead of nothing.
    Problem Text
    The test may fail on implementations that adhere to POSIX.2b
    behavior and generate an empty line instead of nothing.

    The test in question depends on the output of expr when an attempt is
    made to match a string using the subexpression syntax and the matched
    string is a null string (i.e. there is no match). In this case,
    POSIX.2 states (and XCU4 repeats):

    The character '0' shall be written to indicate a zero
    value and nothing shall be written to indicate a null
    string.

    In POSIX.2b/D11, the language has been changed to require the empty
    line.
    Test Output
    400|1 10 1 11:36:12|IC Start
    200|1 1 11:36:12|TP Start
    520|1 1 16260 1 1|Assertion #10 (A):
    520|1 1 16260 1 11|Note: An IEEE POSIX.2 interpretation request is pending on
    520|1 1 16260 1 12|non-historical behavior when expr2 is null.
    520|1 1 16260 1 13|Actual output differs from expected.
    520|1 1 16260 1 14|diff of "expr_actual" and "expr_eso":
    520|1 1 16260 1 15|*** expr_actual Tue Nov 7 11:36:13 1995
    520|1 1 16260 1 16|--- expr_eso Tue Nov 7 11:36:13 1995
    520|1 1 16260 1 17|***************
    520|1 1 16260 1 18|*** 1 ****
    520|1 1 16260 1 19|-
    520|1 1 16260 1 20|--- 0 ----
    520|1 1 16260 1 21|Actual output differs from expected.
    520|1 1 16260 1 22|diff of "expr_actual" and "expr_eso":
    520|1 1 16260 1 23|*** expr_actual Tue Nov 7 11:36:15 1995
    520|1 1 16260 1 24|--- expr_eso Tue Nov 7 11:36:15 1995
    520|1 1 16260 1 25|***************
    520|1 1 16260 1 26|*** 1 ****
    520|1 1 16260 1 27|-
    520|1 1 16260 1 28|--- 0 ----
    220|1 1 1 11:36:16|FAIL
    410|1 10 1 11:36:16|IC End
    80|1 0 11:36:17|TC End

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    Anticipating acceptance of the modified expr specification in
    POSIX 1003.2b/D11 and the eventual alignment of the tests with it
    a temporary interpretation is recommended.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Temporary Interpretation (TIN)
    Review Conclusion
    A Temporary Interpretation is granted.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority