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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0583 Actions


    Problem Report Number 0583
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0187
    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.5
    Test Identification POSIX.cmd/sed 15
    Problem Summary PG4C.00089 This request claims that there is no foundation for the test assertion.
    Problem Text
    We believe that the test for #15 is not valid due to the following:
    The test is testing for an implementation detail of the sed utility
    Specifically, it is testing for the size of reads from the input stream.
    This does not work with our implementation due to our use of input
    buffering within the sed utility (we do 512 byte reads). Since the
    input file is only 3 bytes in the test, the entire file is read leaving
    nothing for the cat cmd. (The test fails because it is assuming that
    sed does byte by byte processing).
    Test Output
    -------- sed
    200|259 1 21:58:01|TP Start
    520|259 1 26664 1 1|Assertion #15 (A): Test general asseriton 34
    520|259 1 26664 1 11|Standard output isn't the same as file 'sed_eso_15_1'
    520|259 1 26664 1 12|diff of "out.stdout" and "sed_eso_15_1":
    520|259 1 26664 1 13|*** out.stdout Mon Jul 15 21:58:01 JST 1996
    520|259 1 26664 1 14|--- sed_eso_15_1 Mon Jul 15 21:58:01 JST 1996
    520|259 1 26664 1 15|***************
    520|259 1 26664 1 16|*** 0 ****
    520|259 1 26664 1 17|--- 1 ----
    520|259 1 26664 1 18|+ C
    220|259 1 1 21:58:02|FAIL
    410|259 15 1 21:58:02|IC End
    400|259 16 1 21:58:02|IC Start

    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.

    Section 1.9 of the XPG4 Utility Description Defaults under Input Files
    (POSIX.2 section 2.11.5.2), states:

    When a standard utility reads a seekable input
    file and terminates without an error before it
    reaches end-of-file, the utility will ensure
    that the file offset in the open file
    description is properly positioned just past
    the last byte processed by the utility. For
    files that are not seekable, the state of the
    file offset in the open file description for
    that file is unspecified. ...

    Since the sed description in STDIN refers to INPUT FILES, this passage
    applies.

    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