|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1327 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 1327.
Report 1327 Actions
Problem Report Number 1327 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0609 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1998-02-24 08:00 Product Standard Sockets V2 (UNIX 98) Certification Program The Open Brand certification program Test Suite VSU version 5.0.2 Test Identification CAPIsockets/gethostbyname 9 Problem Summary TSD4U.00208 This test may fail because arpa/inet.h is not included prior to inet_addr() and inet_ntoa() being used. Problem Text
This assertion uses the interfaces inet_addr() and inet_ntoa() to
convert a string representation of the dot notation internet
address to an integer value and back. However, according to
page 201 of the XPG5 XNS <arpa/inet.h> is required to use this
function. Neither dghostbynam1.c or fghostbynam1.c include
<arpa/inet.h>.Test Output
TEST CASE: gethostbyname
TEST PURPOSE #9
If the implementation supports the AF_INET
communications domain:
A successful call to struct hostent
*gethostbyname(const char *name) when name is an alias
for a valid host name shall return information about
the host name to which the alias refers and include
name in the list of aliases returned.
PREP: Find a host with an alias
TEST: gethostbyname returns host entry for an alias
TEST: Verify returned data
ERROR: TEST TERMINATED DUE TO SIGSEGV SIGNAL (11)
9 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.
Note that this TSD is not valid if the IUT version of
<netdb.h> includes <netinet/in.h> which in turn includes
<arpa/inet.h>
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 1327
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority