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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2345 Actions


    Problem Report Number 2345
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1212
    Raised 2004-03-15 23:46
    Updated 2004-03-16 18:54
    Published 2004-03-16 18:54
    Product Standard Commands and Utilities V4 (UNIX 03)
    Certification Program The Open Brand certification program
    Test Suite VSC version 5.2.4
    Test Identification POSIX.cmd/pax 274
    Specification Shell and Utilities Issue 6
    Linked Problem Reports 2344
    Problem Summary ASCII dependency due to incorrect placing of tr -d ' ' in pipeline
    Problem Text This testcase is failing on our EBCDIC platform as a result of change
    made in VSC5.2.4 to use grep rather than grep -F (fgrep) to verify the
    contents of the uid, gid, mtime, chksum and devmajor fields of the USTAR
    format.

    There is a ASCII dependency in this testcase which leaves an extra space
    in the field being grep-ed. We believe this dependency was always
    there, but only uncovered with this change, since grep cares about the
    extra space. The description below demonstrates the problem for
    test_file.stdout3 which contains the uid field. The same problem exists
    for the other fields.

    The test suite runs the following command:
    cat test_file.stdout3 | tr -d ' ' | native | grep '[^0-7]' >/dev/null
    2>/dev/null || RC1=$?

    The "tr -d" command says to delete all spaces (' ') from it's output.
    However, the ascii test_file.stdout3 has no EBCDIC space, just an ASCII
    one.

    I believe the "native" function should be run before the tr command.
    Test Output 400|81 274 1 11:30:56|IC Start
    200|81 187 11:30:56|TP Start
    520|81 187 67240105 1 1|Assertion #274 (A):
    520|81 187 67240105 2 1|The output file and the expected file differ.
    220|81 187 1 11:31:03|FAIL
    410|81 274 1 11:31:03|IC End

    Review Information

    Review Type TSMA Review
    Start Date 2004-03-15 23:46
    Last Updated 2004-03-15 23:47
    Completed 2004-03-15 23:47
    Status Complete
    Review Recommendation Test Suite Deficiency (TSD)
    Review Response This is accepted as a fault in the test suite.

    Review Type SA Review
    Start Date 2004-03-15 23:47
    Last Updated 2004-03-16 18:54
    Completed 2004-03-16 18:54
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion A test suite deficiency is granted.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority