|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0253 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 0253.
Report 0253 Actions
Problem Report Number 0253 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0253 Raised 1996-11-15 08:00 Updated 2003-03-13 08:00 Published 1996-11-19 08:00 Product Standard Internationalised System Calls and Libraries Extended (UNIX 95) Certification Program The Open Brand certification program Test Suite VSX4 version 4.3.5 Test Identification XOPEN.os/Genuts/hsearch 4 Problem Summary TSD4.253 On page 290 of the System and Interfaces Issue 4, Version 2 it states, "The nel argument is an estimate of the maximum number of elements that the table will contain. This number may be adjusted upwar... Problem Text
On page 290 of the System and Interfaces Issue 4, Version 2 it
states, "The nel argument is an estimate of the maximum number
of elements that the table will contain. This number may be
adjusted upward by the algorithm in order to obtain certain
mathematically favourable circumstances".
.sp
Our algorithm adjusts upward to an unbounded number of elements
so that NULL is only returned when memory is exhausted.
We believe that this is a mathematically favourable circumstance
and that our implementation conforms and that the test is invalid.Test Output
Test Description:
hsearch() returns a NULL pointer if an item needs to be ENTERed into a
hash table which is full (Note: the size of a hash table is not known;
the test fills the hash table until a NULL is returned).
Test Strategy:
SET UP hash table which is NULL terminated
SEARCH hash table using hsearch(item, ENTER)
VERIFY that hsearch() returns NULL
Test Information:
hsearch did not return expected value
expected return value : 0
actual return value : 4133984
number of elements in table : 100Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
It is accepted that this is a test suite deficiency and it is recommended
that a waiver is granted.
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 0253
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority