|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1460 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 1460.
Report 1460 Actions
Problem Report Number 1460 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0742 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1995-11-17 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/fstat 3 Problem Summary TSD4U.00072 The test may fail on implementations that define other bits in the st_mode field in addition to S_IFSOCK. Problem Text
The test may fail on implementations that define other bits in the
st_mode field in addition to S_IFSOCK.
The test checks to see if the file is of type socket using
st_mode == S_IFSOCK
An implementation may define other bits in the st_mode field other
than those required for S_IFSOCK, and may cause the test to fail
since the S_ISSOCK file type macro is not being used.Test Output
00|0 1 10:18:47|TP Start
20|0 1 15400977 1 1|SPEC1170TESTSUITE CASE 3
20|0 1 15400977 1 2|If the implementation supports a communications doma
20|0 1 15400977 1 3|and a socket type:
20|0 1 15400977 1 4|A call to int fstat(int fildes, struct stat *buf) wh
20|0 1 15400977 1 5|fildes references a socket shall set the st_mode
20|0 1 15400977 1 6|member of the stat structure pointed to by buf to
20|0 1 15400977 1 7|S_IFSOCK.
20|0 1 38469636 1 1|DEBUG: Entering capi_sock/cconfig.c:checkconfig()
20|0 1 38469636 1 2|DEBUG: Exiting capi_sock/cconfig.c:checkconfig()
20|0 1 38469636 1 3|TEST: AF_INET SOCK_STREAM
20|0 1 38469636 1 4|PREP: Create socket
20|0 1 38469636 1 5|PREP: Stat socket
20|0 1 38469636 1 6|TEST: S_IFSOCK set in st_mode
20|0 1 38469636 1 7|ERROR: st_mode not set correctly
20|0 1 38469636 1 8| Expected 0x7000000, received 0x70001ff
20|0 1 1 10:18:54|FAIL
10|0 3 1 10:18:54|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 1460
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority