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

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 1463 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 1463 and all reviews you are authorized to see.


Report 1463 Actions


    Problem Report Number 1463
    Submitter's Classification Specification problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0745
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1995-11-13 08:00
    Product Standard Internationalised System Calls and Libraries Extended (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSU version 4.0.2
    Test Identification Base/dbm_open 3
    Problem Summary TSD4U.00068 The test may fail on implementations that do not open exactly two file descriptors on a call to dbm_open().
    Problem Text
    Tests 3 and 4 fail because they assume that exactly 2 files
    will be opened on a call to dbm_open() and that this results
    in exactly 2 more file descriptors being used.

    The dbm_open spec states

    The function opens two files named file.dir and file.pag.

    This could be interpreted to mean that the function should open
    ONLY 2 files or that the function should open AT LEAST 2 files
    and can do whatever else it wants. We believe the second
    interpretation is the intended one.
    Test Output
    TEST CASE: dbm_open

    TEST PURPOSE #3
    A successful call to DBM *dbm_open(const
    char *file, int open_flags, mode_t file_mode) with
    O_WRONLY set in open_flags shall open the database
    files for reading and writing.
    PREP: Find first available file descriptor
    PREP: Open database with write only access
    PREP: Find next available file descriptor
    TEST: Database files with write access
    ERROR: Database does not have write access
    database was opened with O_RDONLY permissions
    3 FAIL

    TEST PURPOSE #4
    A successful call to DBM *dbm_open(const
    char *file, int open_flags, mode_t file_mode) with O_RDWR
    set in open_flags shall open the database files for
    reading and writing.
    PREP: Find first available file descriptor
    PREP: Open database with read/write access
    PREP: Find next available file descriptor
    TEST: Database files with read/write access
    ERROR: Database does not have read/write access
    database was opened with O_RDONLY permissions
    4 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