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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0987 Actions


    Problem Report Number 0987
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0502
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1995-07-27 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/sed 149
    Problem Summary TSD4C.00007 This test will fail on systems where the circumflex does not anchor subexpressions to the beginning of a string.
    Problem Text
    This test will fail on systems where the circumflex does not anchor
    subexpressions to the beginning of a string.

    Case 1 - BRE: '\(^*ab\)' S: '*ab' V: 1 M: 0

    Is doing this command:

    sed -n -e s/\(^*ab\)/MATCH/p sed_in_149_1

    sed_in_149_1 contains:

    12345
    *ab
    67890

    The test is expecting '\(^*ab\)' to match the '*ab' in the file,
    and be replaced by 'MATCH'. If subexpression anchoring is not
    supported, the BRE ins interpreted as "0 or more occurences of
    '^' followed by 'a' followed by 'b'". This matches 'ab', which
    results in '*MATCH' being output.


    Case 2 - BRE: '\(^*ab\)' S: '^*ab' V: 1 M: 0

    Is doing this command:

    sed -n -e s/\(^*ab\)/MATCH/p sed_in_149_2

    sed_in_149_2 contains:

    12345
    ^*ab
    67890

    The test expects no match, but does in fact match 'ab', resulting
    in '^*MATCH'.
    Test Output
    200|1 1 14:34:33|TP Start
    520|1 1 27530 1 1|Assertion #149 (A):
    Test general assertion 113 using the s command
    520|1 1 27530 1 1|Subexpression anchoring is NOT supported
    520|1 1 27530 1 2|Case 1 - BRE: '(^*ab)' S: '*ab' V: 1 M: 0
    520|1 1 27530 1 3|Case 2 - BRE: '(^*ab)' S: '^*ab' V: 1 M: 0
    520|1 1 27530 1 4|Standard output isn't the same as file 'sed_eso_149_2'
    520|1 1 27530 1 5|diff of "out.stdout" and "sed_eso_149_2":
    520|1 1 27530 1 6|*** out.stdout Sat Jul 22 14:34:34 1995
    520|1 1 27530 1 7|--- sed_eso_149_2 Sat Jul 22 14:34:34 1995
    520|1 1 27530 1 8|***************
    520|1 1 27530 1 9|*** 1 ****
    520|1 1 27530 1 10|! ^*MATCH
    520|1 1 27530 1 11|--- 1 ----
    520|1 1 27530 1 12|! *MATCH
    520|1 1 27530 1 13|Case 3 - BRE: '(^*b)' S: 'a*b' V: 1 M: 0
    520|1 1 27530 1 14|Case 4 - BRE: '(^*b)' S: '^*b' V: 1 M: 0
    220|1 1 1 14:34:39|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