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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1429 Actions


    Problem Report Number 1429
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0711
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1996-02-12 08:00
    Product Standard Internationalised System Calls and Libraries Extended (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSU version 4.1.0
    Test Identification base/mmap 34, 35, 36
    Problem Summary TSD4U.00104 This test may fail due to an invalid assumption of when file time fields must be updated. BR1170/130 clarifies this issue.
    Problem Text
    This test may fail due to an invalid assumption of when file time
    fields must be updated. BR1170/130 clarifies this issue.

    Base WG resolution 1170/130 clarifies how msync() and stat() should be
    used to force data and meta-data updates. We suffer from the following
    three failures and on inspection of the test code for each case it
    appears that the boundary end time used in the test is being set
    before the stat() is called to update meta-data. Moving the stat() to
    before the setting of the end time for these three tests results in
    passes.
    Test Output
    TEST PURPOSE #34
    The st_atime field of a file mapped by a call to void
    *mmap(void *addr, size_t len, int prot, int flags, int
    fildes, off_t off) shall be marked for update on the
    first read or write reference to a mapped region.
    PREP: Obtain the system page size by call to
    sysconf(_SC_PAGESIZE)
    PREP: Establish signal handlers for SIGSEGV and SIGBUS
    PREP: Obtain start time
    PREP: Open a file and initialize it
    PREP: Allocate memory for buffer
    PREP: Now set proper permissions and re-open file
    PREP: Map a file
    PREP: Make write references on the file
    PREP: Obtain end time
    TEST: st_atime field is marked for update
    ERROR: st_atime is Mon Jan 8 11:41:55 1996 expected less than or equal to
    Mon Jan 8 11:41:54 1996
    34 FAIL


    TEST PURPOSE #35
    The st_ctime field of a file mapped by a
    call to void *mmap(void *addr, size_t len, int prot,
    int flags, int fildes, off_t off) with MAP_SHARED set
    in flags and PROT_WRITE set in prot shall be marked
    for update between a write reference to a mapped
    region and the next call to msync() with MS_ASYNC or
    MS_SYNC.
    PREP: Obtain the system page size by call to
    sysconf(_SC_PAGESIZE)
    PREP: Establish signal handlers for SIGSEGV and SIGBUS
    PREP: Obtain start time
    PREP: Open a file and initialize it
    PREP: Allocate memory for buffer
    PREP: Now set proper permissions and re-open file
    PREP: Map a file
    PREP: Make write references on the file
    PREP: Obtain end time
    TEST: st_ctime field is marked for update
    ERROR: st_ctime is Mon Jan 8 11:42:04 1996 expected less than or equal to
    Mon Jan 8 11:42:03 1996
    35 FAIL


    TEST PURPOSE #36
    The st_mtime field of a file mapped by a call to void
    *mmap(void *addr, size_t len, int prot, int flags, int
    fildes, off_t off) with MAP_SHARED set in flags and
    PROT_WRITE set in prot shall be marked for update
    between a write reference to a mapped region and the
    next call to msync() with MS_ASYNC or MS_SYNC.
    PREP: Obtain the system page size by call to
    sysconf(_SC_PAGESIZE)
    PREP: Establish signal handlers for SIGSEGV and SIGBUS
    PREP: Obtain start time
    PREP: Open a file and initialize it
    PREP: Allocate memory for buffer
    PREP: Now set proper permissions and re-open file
    PREP: Map a file
    PREP: Make write references on the file
    PREP: Obtain end time
    TEST: st_mtime field is marked for update
    ERROR: st_mtime is Mon Jan 8 11:42:12 1996 expected less than or equal to
    Mon Jan 8 11:42:11 1996
    36 FAIL

    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