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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0485 Actions


    Problem Report Number 0485
    Submitter's Classification Specification problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0104
    Raised 1995-06-01 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.3.5
    Test Identification POSIX.os/files/creat&mkfifo 23 12
    Linked Problem Reports PIN4.026, (in, old, system)
    Problem Summary PG4R.105
    Problem Text
    Test Output
    ************************************************************************
    /tset/POSIX.os/files/creat/T.creat 23 Failed

    Test Description:
    If _POSIX_PATH_MAX <= {PATH_MAX} <= PCTS_PATH_MAX, then ENAMETOOLONG
    in errno and a return value of -1 on a call to creat(path, mode) when
    the length of the path argument exceeds the maximum number of
    characters in a pathname {PATH_MAX};
    otherwise
    a call to creat(path, mode) when the length of the path argument
    equals PCTS_PATH_MAX does not give an ENAMETOOLONG error.
    Posix Ref: Component CREAT Assertion 5.3.2.4-50(A)

    Test Strategy:
    IF pathconf() returns a value of PATH_MAX <= PCTS_PATH_MAX, and not -1
    CREATE a file via a pathname of length PATH_MAX using creat()
    VERIFY that creat() returned successfully
    CREATE a file via a pathname of length PATH_MAX+1 using creat()
    VERIFY that creat() returned -1 and errno was set to ENAMETOOLONG
    OTHERWISE
    CREATE a file via a pathname of length PCTS_PATH_MAX using creat()
    VERIFY that creat() returned successfully

    Test Information:
    creat("<1023 char path>", 0777) did not give correct results
    RETURN VALUES: expected: -1, observed: 6
    ERRNO VALUES: expected: 78 (ENAMETOOLONG), observed: 0 (NO ERROR)
    ************************************************************************

    ************************************************************************
    /tset/POSIX.os/files/mkfifo/T.mkfifo 12 Failed

    Test Description:
    If _POSIX_PATH_MAX <= {PATH_MAX} <= PCTS_PATH_MAX, then ENAMETOOLONG
    in errno, a return value of -1 and the FIFO shall not be created on a
    call to mkfifo(path, mode) when the length of the path argument
    exceeds the maximum number of characters in a pathname {PATH_MAX};
    otherwise
    a call to mkfifo(path, mode) when the length of the path argument
    equals PCTS_PATH_MAX does not give an ENAMETOOLONG error.
    Posix Ref: Component MKFIFO Assertion 5.4.2.4-33(A)

    Test Strategy:
    IF pathconf() returns a value of PATH_MAX <= PCTS_PATH_MAX, and not -1
    CREATE FIFO with a pathname of length PATH_MAX using mkfifo()
    VERIFY that mkfifo() returned 0
    CREATE FIFO with a pathname of length PATH_MAX+1 using mkfifo()
    VERIFY that mkfifo() returned -1 and errno was set to ENAMETOOLONG
    OTHERWISE
    CREATE FIFO with a pathname of length PCTS_PATH_MAX using mkfifo()
    VERIFY that mkfifo() returned 0

    Test Information:
    mkfifo("<1023 char path>", 0777) did not give correct results
    RETURN VALUES: expected: -1, observed: 0
    ERRNO VALUES: expected: 78 (ENAMETOOLONG), observed: 0 (NO ERROR)
    ************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    The failures mentioned above are covered by the Permanent Interpretation
    PIN4.006. The previous waiver reference to PIN4.026 is incorrect since
    PIN4.026 is an interpretation against the XNFS test suite. The applicant
    should use PIN4.006 for VSX4 branding applications rather than using PIN4.026.
    It is recommended that this request is refused as there is already a permanent
    interpretation covering this issue.

    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