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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0886 Actions


    Problem Report Number 0886
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0401
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1995-10-30 08:00
    Product Standard Commands and Utilities V2 (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSC version 4.1.4
    Test Identification POSIX.cmd/find 72
    Problem Summary TSD4C.00110 This test may fail on systems where the default directory size is 1024 or greater.
    Problem Text
    This test may fail on systems where the default directory size is 1024 or
    greater.

    Assertion #72 (A): Option -size n

    The specification IEEE Std POSIX 1003.2 (page 282, lines 4346-4348) says,

    -size n[c] The primary shall evaluate as true if the file size
    in bytes, divided by 512 and rounded upto the next
    integer is n. If n is followed by the character is
    'c', the size shall be in bytes.

    This primary may be even true for the directory 'df072.tmp', if the
    default size for a directory is >= (2*512). But the test is expecting
    only the file 'df072.tmp/f2' as a result.

    Since the default size for a directory is system dependent, find(1)
    will only search for the normal file(-type f) for the correct result.

    So in the test suite(tp72), the line

    find df072.tmp -size 2 -print > $CT_STDOUT 2> $CT_STDERR

    should be changed to

    find df072.tmp -size 2 -type f -print > $CT_STDOUT 2> $CT_STDERR

    Test Output
    tset/POSIX.cmd/find/find.ex 1 Failed

    Test Information:
    Assertion #72 (A): Option -size n
    Standard output isn't the same as file 'find0722.exp'
    diff of "out.stdout" and "find0722.exp":
    *** out.stdout Fri Jun 2 20:49:50 1995
    --- find0722.exp Fri Jun 2 20:49:50 1995
    ***************
    *** 1,2 ****
    - df072.tmp
    df072.tmp/f2
    --- 1 ----
    df072.tmp/f2

    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