|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1521 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 1521.
Report 1521 Actions
Problem Report Number 1521 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0803 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1995-05-24 08:00 Product Standard Internationalised System Calls and Libraries Extended (UNIX 95) Certification Program The Open Brand certification program Test Suite VSU version 4.0.2 Test Identification base/close 11 Problem Summary TSD4U.00010 Test should not be run on UNIX domain sockets. Problem Text
Under the AF_UNIX domain buffers that are written are almost
immediately transferred to the read queue as available data.
Because of this it is unnecessary for UNIX domain sockets to
linger on a close. This means that the second half of this test
will never succeed.Test Output
520|1 1 16631 1 3|If the implementation supports a communications domain
520|1 1 16631 1 4|and a connection-oriented socket type:
520|1 1 16631 1 5|A successful call to int close(int fildes) for a
520|1 1 16631 1 6|connection-oriented socket with untransmitted data and
520|1 1 16631 1 7|the SO_LINGER option is set for the socket shall block
520|1 1 16631 1 8|for up to the current linger interval until all data
520|1 1 16631 1 9|is transmitted.
20|1 1 16684 2 6|TEST: AF_UNIX SOCK_STREAM
520|1 1 16684 2 7|PREP: Create test sockaddr_un: path = ../tmp/unix.016684
520|1 1 16572 1 1|PREP: Child: wait for parent
520|1 1 16572 1 2|PREP: Create a socket
520|1 1 16572 1 3|PREP: Connect socket to address 192.187.150.12, port 3969
520|1 1 16572 1 4|PREP: Set 5 second linger interval
520|1 1 16572 1 5|TEST: Repeatedly send 1024 bytes until send blocks
520|1 1 16572 1 6|TEST: close() lingers
520|1 1 16572 1 7|ERROR: Expected close to linger 5 seconds
had not returned after 20 seconds
520|1 1 16638 1 1|PREP: Child: wait for parent
520|1 1 16638 1 2|PREP: Create a socket
520|1 1 16638 1 3|PREP: Bind address ../tmp/uclient.016638 to socket
520|1 1 16638 1 4|PREP: Connect to address ../tmp/unix.016684
520|1 1 16638 1 5|PREP: Set 5 second linger interval
520|1 1 16638 1 6|TEST: Repeatedly send 1024 bytes until send blocks
520|1 1 16638 1 7|TEST: close() lingers
520|1 1 16638 1 8|ERROR: close() did not linger the time specified
520|1 1 16638 1 9| Expected at least 5 seconds
actually 0 seconds
520|1 1 16684 3 1|PREP: Create socket
220|1 1 1 18:25:31|FAILReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We agree this is a deficiency in the test suite version(s) listed above.
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 1521
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority