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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0316 Actions


    Problem Report Number 0316
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Permanent Interpretation (PIN)
    Problem Resolution ID PIN.X.0032
    Raised 1994-06-10 08:00
    Updated 2003-03-13 08:00
    Published 1994-06-14 08:00
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.3.2
    Test Identification rmdir/files/rmdir 4
    Specification System Interfaces and Headers Issue 4
    Location in Spec See Problem Text
    Problem Summary PIN4.032 The below resolution has been approved by the IEEE. Reference POSIX 1003.1 interpretations, PSAC reference #13: (section 5.1.2.2) rmdir and . or .. : .in +4 Response: Whether or not the entries for do...
    Problem Text


    The below resolution has been approved by the IEEE.
    Reference POSIX 1003.1 interpretations, PSAC reference #13:
    (section 5.1.2.2) rmdir and . or .. :
    .in +4
    Response:

    Whether or not the entries for dot and dot-dot are returned by
    a call to readdir() is unspecified. After the removal of the
    dot and dot-dot the return of these entries by readdir() is
    still unspecified. However, the observed behavior in these
    two instances may differ on an implementation.

    Rationale:

    A conforming application should not depend on the presense or
    absense of the dot and dot-dot entries returned by readdir().
    .sp
    .in -4
    The following test fails for the same reason stated above:

    ANSI.os/streamio/remove/T.remove 4


    Test Output
    ************************************************************************
    /tset/POSIX.os/files/rmdir/T.rmdir 4 Failed

    Test Description:
    For the XNFS specification:
    Not in use.
    For the XSH specification:
    When a process has the directory open when the last link is
    removed, then when rmdir() returns there shall not be a dot and
    dot-dot entry and no new entries may be created in the directory.
    Posix Ref: Component RMDIR Assertion 5.5.2.2-27(A)

    Test Strategy:
    CREATE directory using crdir()
    OPEN directory using opendir()
    REMOVE directory using rmdir()
    VERIFY that rmdir() returned 0
    VERIFY that the directory no longer exists using eaccess()
    SET file pointer to start of directory using rewinddir()
    READ all directory entries using readdir()
    VERIFY that entries for "." and ".." are not found
    CREATE file using crfile() - (genlib) within deleted directory
    VERIFY that file is not created
    CLOSE directory using closedir()

    Test Information:
    open directory contained entry "." after rmdir("rmdir-d.4")
    open directory contained entry ".." after rmdir("rmdir-d.4")
    *******************************************************************


    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    It seems that the IEEE interpretation invalidates the text of the
    assertion which is taken from the IEEE 1003.3.1 standard. Since
    the assertion is extant, a 1003.3.1 conforming test suite cannot
    be changed. For this reason it is recommended that this be treated
    as a grey area and a permanent interpretation granted.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Permanent Interpretation (PIN)
    Review Conclusion
    A Permanent Interpretation is granted.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority