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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1060 Actions


    Problem Report Number 1060
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0297
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSRT version 5.0.1
    Test Identification rt.os/files/pathconf 4
    Problem Summary PG4R.00007 The messages associated with _POSIX_SYNC_IO and _PC_SYNC_IO being undefined are swapped in this test.
    Problem Text

    The test case

    /tset/rt.os/files/pathconf/T.pathconf 4

    has the wrong error message coded for the undefine case _PC_SYNC_IO
    instead the error message is

    in_rpt("_POSIX_SYNC_IO is not defined");

    The following is test case 4 with the changes needed and additional
    comments to clarify the indefs being used.

    /*
    If _POSIX_SYNC_IO is defined in the header <unistd.h>
    with a value other than -1, a call to pathconf() when
    name is _PC_SYNC_IO shall succeed for all applicable
    files.
    */

    private void test4()
    {

    long rval;

    DBUG_ENTER("test4");

    #ifdef _POSIX_SYNC_IO
    #if _POSIX_SYNC_IO != -1
    #ifdef _PC_SYNC_IO

    if (creat("vsrt_pathconf", S_IRWXU) == -1) {
    vsrt_sysfail("creat");
    DBUG_VOID_RETURN
    }

    rval = tb_pathconf("vsrt_pathconf", _PC_SYNC_IO);
    if (rval == -1) {
    vsrt_sysfail("pathconf");
    (void)unlink("vsrt_pathconf");
    DBUG_VOID_RETURN
    }

    (void)unlink("vsrt_pathconf");
    xs_rpt();
    DBUG_VOID_RETURN

    #else
    in_rpt("_PC_SYNC_IO is not defined");
    xx_rpt(FAILURE);
    #endif /* _PC_SYNC_IO */
    #else
    in_rpt("_POSIX_SYNC_IO is defined with the value -1");
    xx_rpt(UNSUPPORTED);
    #endif /* _POSIX_SYNC_IO != -1 */
    #else
    in_rpt("_POSIX_SYNC_IO is not defined");
    xx_rpt(UNSUPPORTED);
    #endif /* _POSIX_SYNC_IO */
    }
    Test Output
    /tset/rt.os/files/pathconf/T.pathconf 4

    Testsuite gives the following results

    400|0 4 1 15:57:07|IC Start
    200|0 4 15:57:07|TP Start
    520|0 4 00000310 1 1|_PC_SYNC_IO is not defined
    220|0 4 4 15:57:07|UNSUPPORTED
    410|0 4 1 15:57:07|IC End

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We recommend this request be refused.

    Although the submitter is correct, a TSD can not be granted
    without results demonstrating a test failure. The journal output
    above shows that the test is UNSUPPORTED on the submitter's
    implementation. This is not a failure result and thus is not a valid
    basis for a waiver.

    N.B. Though the informational messages for when _POSIX_SYNC_IO or
    _PC_SYNC_IO are undefined are swapped, the code correctly tests the
    assertion. The messages will be corrected in the next release.

    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