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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1502 Actions


    Problem Report Number 1502
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0784
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1995-08-03 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_store 5
    Problem Summary TSD4U.00029 ddata_buffer and dkey_buffer arrays should be of type double.
    Problem Text
    This test may fail because the following arrays

    char ddata_buffer[RECORD_LENGTH/sizeof(double)];
    char dkey_buffer[RECORD_LENGTH/sizeof(double)];

    need to be

    double ddata_buffer[RECORD_LENGTH/sizeof(double)];
    double dkey_buffer[RECORD_LENGTH/sizeof(double)];

    since the test is using them as doubles and assuming that the data
    that is stored in them will fill the arrays.

    for(j=0; j<(sizeof(dkey_buffer)/sizeof(double)); j++) {

    As things are now this loop will only initialize a fraction of the array,
    1/sizeof(double), so the test can fail on garbage mismatch in the rest of
    the array.
    Test Output
    200|1 1 18:34:57|TP Start
    520|1 1 14682 1 1|SPEC1170TESTSUITE CASE 5
    520|1 1 14682 1 2|The data stored in a database with a call to int
    520|1 1 14682 1 3|dbm_store(DBM *db, datum key, datum content, int
    520|1 1 14682 1 4|store_mode) may be arbitrary binary data as well as
    520|1 1 14682 1 5|character strings.
    520|1 1 14620 1 1|PREP: Create database
    520|1 1 14620 1 2|TEST: Store binary records in database
    520|1 1 14620 1 3|TEST: Binary data stored in database properly
    520|1 1 14620 1 4|ERROR: Record data received ''
    520|1 1 14620 1 5| expected data ''
    220|1 1 1 18:34:58|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