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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0650 Actions


    Problem Report Number 0650
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0254
    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.4
    Test Identification /tset/POSIX.cmd/grep/grep 51
    Problem Summary PG4C.00022 This was refused because it is identical to TSD4C.0068. Use that TSD4C.0068 instead.
    Problem Text
    1. if [ $match -eq 0 ] is syntax incorrectly if
    $match is not defined.
    It should be
    if [ "$match" -eq 0 ]
    There are many occurences like this in "grep" test
    suite, this is just an example.

    2
    Test is incorrect: there is no way that the following
    Regular Expression "a\(b\(c\(d\(f\)*\)\)\)\4" would
    match the string "xYzabcdePQRST".

    Here is the reason:
    The back reference expression "\4" should be "\(f\)".
    In the back reference expression "\3", the "\(f\)*"
    can be NULL, but not the trailing "\4".
    So, the correct regular expression would be
    "a\(b\(c\(d\(f*\)*\)\)\)\4" as it will match
    the string "xYzabcdePQRST" as "\4" is NULL.
    The given regular expression "a\(b\(c\(d\(f\)*\)\)\)\4"
    would require at least 1 'f' as the trailing character.

    The previous test case in the same RE table(GA_table_137)
    would prove this point. The regular expression
    "a\(b\)*c\1" would match "acb" as "\(b\)*" is
    expanded into NULL string and "\1" require a single 'b'
    as a matched trailing character.

    Test Output

    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.

    This request is a duplicate of TSD4C.0068.

    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