|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1128 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 1128.
Report 1128 Actions
Problem Report Number 1128 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0330 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published null Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98) Certification Program The Open Brand certification program Test Suite VSU version 5.0.2 Test Identification CAPIsockets/gethostent 5 Problem Summary PG4U.00143 The test bed does not provide a stable host database. Problem Text
The functionality being tested by this test is correct on our
implementation, however because our network host database file is
continually being updated, the value of VSU_HOST_CNT in tetexec.cfg,
as determined by "vsuconfig -x", may no longer be valid by the time
the gethostent() test is executed. In this case, the last call to
gethostent() may succeed unexpectedly instead of indicating an end
of file as the test is expecting. Re-executing this test directly
after updating VSU_HOST_CNT to contain the correct value demonstrates
the functionality is intact:
520|1 5 28080 1 1|SPEC1170TESTSUITE CASE 5
520|1 5 28080 1 2|Return a null pointer on a call to struct hostent
520|1 5 28080 1 3|*gethostent(void) when the end of the database was
520|1 5 28080 1 4|reached.
520|1 5 28085 1 1|PREP: Call gethostent() the number of times defined by
520|1 5 28085 1 2| the configuration variable VSU_HOST_CNT
520|1 5 28085 1 3|TEST: Call gethostent() at end of file
220|1 5 0 11:31:21|PASS
410|1 5 1 11:31:21|IC End
In the absense of isolated network, it would be desirable if these
tests were designed to obtain VSU_HOST_CNT at runtime.Test Output
TEST CASE: gethostent
TEST PURPOSE #5
Return a null pointer on a call to struct hostent
*gethostent(void) when the end of the database was
reached.
PREP: Call gethostent() the number of times defined by
the configuration variable VSU_HOST_CNT
TEST: Call gethostent() at end of file
ERROR: gethostent succeeded unexpectedly, host = 10011cd08
5 FAILReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We recommend this request be denied.
This is a configuration problem. The test suite documentation requires
the user to specify a value for VSU_HOST_CNT that is accurate when the
test suite is run, and the submitter is not doing so. We suggest the
submitter effect a test environment is which the continual updating of the
host database is supressed.
Note that there is no portable way we can see to get this number other
than static configuration, as the nature of the host database is not
defined by the specification.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
This request is refused.
Problem Reporting System Options:
- View Report 1128
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority