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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0835 Actions


    Problem Report Number 0835
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0350
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1996-02-05 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.upe/ex 81 83
    Problem Summary TSD4C.00161 This test may fail on implementations where a search failure is considered an error and causes ex to exit immediately.
    Problem Text
    This test may fail on implementations where a search failure
    is considered an error and causes ex to exit immediately.

    All of these test cases are failing one part of the test because the
    test suite is ignoring the fact that 'ex' terminates when an error
    is encountered in the input file, when the input file is a regular
    file. A failure in a search is considered an error, and should terminate
    the execution of the input script.
    The test suite should not expect 'checkline' to succeed when
    ex has terminated under such circumstances because any other commands
    in the input script will not have been executed to mark the line
    which is being searched for in 'checkline'.

    Each test case (81, 83) expects that the exit status may not
    be zero, but the exit status from the 'ex' command is not used to
    determine whether to continue with the 'checkline' routine. It should
    be.

    Testcase #81:

    lines 2116-2118 of ex_02.sh contain the ex command and the capture of
    the (non-zero) exit status.

    Testcase #83:

    lines 2524-2526 of ex_02.sh contain the ex command and the capture of
    the (non-zero) exit status.

    Test Output
    09:13:10|IC Start
    09:13:10|TP Start
    80 1 1|Assertion #81 (C): searching with /RE/; wrapscan option
    80 1 2| <LC> not set
    80 1 11|Expecting line 6, was line not-found
    80 1 12|line address "bb*" matched line "abbbc"
    80 1 13|Expecting line 6, was line not-found
    80 1 14|line address "bb*" matched line "ababbbc"
    80 1 15|Expecting line 6, was line not-found
    80 1 16|line address "A#*::" matched line "A:A#:qA::qA#::qA##::
    80 1 17| <LC> q"
    80 1 18|Expecting line 6, was line not-found
    80 1 19|line address "A#*::" matched line "A##::A#::qA::qA#:q"
    09:15:10|FAIL
    09:15:11|IC End

    09:17:08|IC Start
    09:17:09|TP Start
    80 1 1|Assertion #83 (C): searching with ?RE?; wrapscan option
    80 1 2| <LC> not set
    80 1 11|Expecting line 1, was line not-found
    80 1 12|line address "bb*" wrapped at start of buffer
    80 1 13|Expecting line 1, was line not-found
    80 1 14|line address "bb*" wrapped at start of buffer
    80 1 15|Expecting line 1, was line not-found
    80 1 16|line address "A#*::" wrapped at start of buffer
    80 1 17|Expecting line 1, was line not-found
    80 1 18|line address "A#*::" wrapped at start of buffer
    09:19:08|FAIL
    09:19:09|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.

    The failure is different in VSC 4.1.4(*). See TSD4C.00004.

    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