Problem Report 0030 Details

Help Show help | Quick Search | Click here to view your privileges

This page provides all information on Problem Report 0030.


Report 0030 Actions


    Problem Report Number 0030
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.PX.0017
    Raised 2005-10-28 06:51
    Updated 2005-10-28 17:56
    Published 2005-10-28 17:56
    Product Standard 1003.1-2003 System Interfaces
    Certification Program POSIX Certified by IEEE and The Open Group
    Test Suite VSX-PCTS2003 version 1.3
    Test Identification tset/POSIX.os/ioprim/fcntl_X/T.fcntl_X 1
    tset/POSIX.os/ioprim/fcntl_X/T.fcntl_X 2
    Problem Summary fcntl_X tests are masking out O_SYNC and then complaining it wasn't
    returned
    Problem Text When all_o_flags is constructed in prepare_tests(), the O_SYNC flag is
    not included. Therefore, the statement (rval[i] & all_o_flags) !=
    t1_status[i]) will never be true when t1_status[i] includes O_SYNC.
    Test Output ***********************************************************************
    /tset/POSIX.os/ioprim/fcntl_X/T.fcntl_X 1 Failed

    Test Description:
    On a call to fcntl(fildes, F_GETFL), the file access modes and status
    flags O_RDONLY, O_WRONLY, O_RDWR, O_NONBLOCK, O_APPEND and O_SYNC are
    returned for the file description associated with fildes.

    Test Strategy:
    FOR various combinations of file status flags:
    OPEN file with (O_CREAT | status_flags)
    VERIFY fcntl(fd, F_GETFL) returns status_flags

    Test Information:
    fcntl(fd, F_GETFL, 0) did not return expected flags:
    returned flags included 02, file was opened with 0202
    fcntl(fd, F_GETFL, 0) did not return expected flags:
    returned flags included 05, file was opened with 0205
    fcntl(fd, F_GETFL, 0) did not return expected flags:
    returned flags included 011, file was opened with 0211
    fcntl(fd, F_GETFL, 0) did not return expected flags:
    returned flags included 016, file was opened with 0216

    ***********************************************************************
    ***********************************************************************
    *
    /tset/POSIX.os/ioprim/fcntl_X/T.fcntl_X 2 Failed

    Test Description:
    When flags contains the current status flags for the file description
    associated with fildes and the O_SYNC flag is not set in flags, then a
    successful call to fcntl(fildes, F_SETFL, flags|O_SYNC) sets the
    O_SYNC flag for the file description.

    Test Strategy:
    FOR various combinations of file status flags with O_SYNC clear:
    OPEN file with (O_CREAT | status_flags)
    CALL fcntl(fd, F_SETFL, status_flags|O_SYNC)
    VERIFY fcntl(fd, F_GETFL) returns status_flags|O_SYNC

    Test Information:
    fcntl(fd, F_GETFL, 0) did not return expected flags:
    returned flags included 02, flags had been set to 0202
    fcntl(fd, F_GETFL, 0) did not return expected flags:
    returned flags included 05, flags had been set to 0205
    fcntl(fd, F_GETFL, 0) did not return expected flags:
    returned flags included 011, flags had been set to 0211
    fcntl(fd, F_GETFL, 0) did not return expected flags:
    returned flags included 016, flags had been set to 0216

    Review Information

    Review Type TSMA Review
    Start Date 2005-10-28 06:51
    Last Updated 2005-10-28 17:41
    Completed 2005-10-28 17:41
    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 2005-10-28 16:41
    Last Updated 2005-10-28 17:56
    Completed 2005-10-28 17:56
    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