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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0845 Actions


    Problem Report Number 0845
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0360
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1996-01-15 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.cmd/ed 399
    Problem Summary TSD4C.00151 This test may fail on implementations because the l suffix command results are not in the proper order in the expected output.
    Problem Text
    This test may fail on implementations because the l suffix command
    results are not in the proper order in the expected output.

    There are two distinct problems in this test that need to be
    corrected:

    1) The prompt printed by the G command should not be printed
    in the manner in which an "l" command prints lines. That is,
    the prompt should not contain a dollar sign to denote the end
    of the line. The XCU specification simply says "the line will
    be written" and says nothing about the effect of a possible
    suffix.

    Expecting the prompt to be printed in the manner in which an
    "l" command prints lines is also inconsistent with the
    analogous test for the "n" suffix with the "G" command (test
    409). That test apparently expects the prompt to be printed in
    the style of a simple "p" command. It is illogical to assume
    the "l" suffix will apply to the prompt but the "n" suffix does
    not.

    2) The suite evidently expects the suffix command to be executed
    before the G command has finished completely. We believe this is
    contrary to the XPG4 standard. The expected output for the G
    command and its suffix show a prompt, followed by the same line
    printed again, followed by the output of the command in response
    to the G prompt (.=):

    line 2 changed by the c command$
    line 2 changed by the c command$
    2

    The XCU publication states "... any command ... can be suffixed
    by the letter l, n, or p; in which case ... the command is
    executed and then the new current line will be written as
    described below under the l, n, or p commands."

    The suffix applies to the command "G/he/" and it is this
    command which must be executed before the "l" suffix command
    is executed. We believe the suffix should be executed only
    after the G command has completely finished: after
    all lines matching the regular expression have been exhausted
    and the user-supplied commands for each prompt has been
    executed.

    When these two problems are both corrected, the output from the G
    command only should look like:

    line 2 changed by the c command
    2
    line 2 changed by the c command$
    Test Output
    /tset/POSIX.cmd/ed/ed_08.ex 1 Failed


    Test Information:
    Assertion #399 (A): Test the l command as a command su
    <LC> ffix
    Standard output isn't the same as file 'ed_eso_399_1'
    diff of "out.stdout" and "ed_eso_399_1":
    *** out.stdout Sat Jan 6 04:38:43 1996
    --- ed_eso_399_1 Sat Jan 6 04:38:43 1996
    ***************
    *** 2,10 ****
    line 2 changed by the c command$
    like living creatures.$
    line 2 changed by the c command$
    - line 2 changed by the c command
    - 2
    line 2 changed by the c command$
    2
    line 2 changed by the c command$
    line 2 changed by the c command$
    --- 2,10 ----
    line 2 changed by the c command$
    like living creatures.$
    line 2 changed by the c command$
    line 2 changed by the c command$
    + line 2 changed by the c command$
    + 2
    2
    line 2 changed by the c command$
    line 2 changed by the c command$

    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.

    Posix 1003.2 Interpretation request #141 has already affirmed the
    submitter's position.

    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