|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1405 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 1405.
Report 1405 Actions
Problem Report Number 1405 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0687 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1996-04-30 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/dbm_clearerr 1 2 Problem Summary TSD4U.00128 This test may fail on IUTs where dbm_clearerr or dbm_error are defined as macros. Problem Text
This test may fail on IUTs where dbm_clearerr or dbm_error
are defined as macros.
These assertions have a result of FAIL (even though they are
omitted!) because of a typo in the "d-file"s... they are looking
to see if DECARED_dbm_error and DECARED_dbm_clearerr
rather than DECLARED_dbm_error and DECLARED_dbm_clearerr
are defined.
Specifically, $TET_ROOT/CAPI/tset/CAPIbase/fdbm_error/ddbm_error1.c
contains the following snippet of code:
---------------------------------------------------------------
#ifdef dbm_error
#definegTEST_THE_MACRO
#definegFUNCTION_OR_MACROg M
#include "fdbm_error1.c"
#endif
/*
** Now undefine dbm_error to get the function and set the the test name
** function test name an the test body.
*/
#undefg dbm_error
#ifdefg DECARED_dbm_error
#definegTEST_THE_FUNCTION
#undefg FUNCTION_OR_MACRO
#definegFUNCTION_OR_MACROg F
#include "fdbm_error1.c"
#endif
---------------------------------------------------------------
$TET_ROOT/CAPI/tset/CAPIbase/fdbm_clear/ddbm_clear1.c
contains similar code incorrectly checking for DECARED_dbm_clearerr
When I changed these to DECLARED_*** the test cases correctly
resulting in UNTESTED.Test Output
IC Start
TP Start
SPEC1170TESTSUITE CASE 1
A successful call to int dbm_clearerr(DBM *db) shall
clear the error condition of the database associated
with the database structure pointed to by db.
Reason for omission: No database error conditions
defined.
ERROR: Neither the function nor macro form of dbm_clearerr is defined
FAIL
IC End
IC Start
TP Start
SPEC1170TESTSUITE CASE 2
Values returned by a call to int dbm_clearerr(DBM *db).
Reason for omission: Return value unspecified.
ERROR: Neither the function nor macro form of dbm_clearerr is defined
FAIL
IC End
IC Start
TP Start
SPEC1170TESTSUITE CASE 1
When the error condition of the database associated
with the database structure pointed to by db is set a
call to int dbm_error(DBM *db) shall return a non-zero
value indicating the error condition of the database.
Reason for omission: No error conditions defined.
ERROR: Neither the function nor macro form of dbm_error is defined
FAIL
IC End
IC Start
TP Start
SPEC1170TESTSUITE CASE 2
When the error condition of the database associated
with the database structure pointed to by db is not
set a call to int dbm_error(DBM *db) shall return 0.
Reason for omission: No error conditions defined.
ERROR: Neither the function nor macro form of dbm_error is defined
FAIL
IC EndReview 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:
- View Report 1405
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority