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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0810 Actions


    Problem Report Number 0810
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0325
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1996-08-27 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/awk 384
    Problem Summary TSD4C.00186 This test may fail on implementations where the sizeof(longs) used by the printf and awk utilities are different.
    Problem Text

    The test is comparing the output of:

    printf "< 1 0 %u >\n" -1

    to that of:

    awk 'BEGIN { printf "< %u %u %u >\n", " 1.0 ", " 0.00001 ", " -1.0 " }'\
    < /dev/null

    These results on our system are:

    $ awk 'BEGIN { printf "< %u %u %u >\n", " 1.0 ", " 0.00001 ", " -1.0 " }'\
    < /dev/null
    < 1 0 18446744073709551615 >
    $ printf "< 1 0 %u >\n" -1
    < 1 0 4294967295 >
    $

    awk is returning the correct value for a 64-bit unsigned long -1; printf
    the corresponding value for a 32-bit unsigned long -i. There is no
    requirement in POSIX.2 or in XCU4.2 that all utilities use the same
    long integer size.
    Test Output
    -----------------start of test output------------------

    10|31 /tset/POSIX.cmd/awk/awk.ex 10:14:14|TC Start, scenario ref 14-1
    ...
    400|31 384 1 10:18:08|IC Start
    200|31 1 10:18:08|TP Start
    520|31 1 13211 1 1|Assertion #384 (A):
    520|31 1 13211 1 11|Standard output isn't the same as file 'awk_eso_384'
    520|31 1 13211 1 12|diff of "out.stdout" and "awk_eso_384":
    520|31 1 13211 1 13|*** out.stdout Tue Aug 20 10:18:09 1996
    520|31 1 13211 1 14|--- awk_eso_384 Tue Aug 20 10:18:09 1996
    520|31 1 13211 1 15|***************
    520|31 1 13211 1 16|*** 1 ****
    520|31 1 13211 1 17|! < 1 0 18446744073709551615 >
    520|31 1 13211 1 18|--- 1 ----
    520|31 1 13211 1 19|! < 1 0 4294967295 >
    220|31 1 1 10:18:09|FAIL


    ------------------end of test output-------------------

    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.

    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