Problem Report Number |
1605 |
Submitter's Classification |
Specification problem |
State |
Resolved |
Resolution |
Permanent Interpretation (PIN) |
Problem Resolution ID |
PIN.X.0162 |
Raised |
1996-04-23 08:00 |
Updated |
2003-03-13 08:00 |
Published |
1996-04-26 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 |
CAPI.os/ioprim/close 1 4 |
Specification |
System Interfaces and Libraries Issue 4 Version 2 |
Location in Spec |
See Problem Text |
Problem Summary |
PIN4U.00028 This test may fail on IUTs with no STREAMS devices. |
Problem Text |
This test may fail on IUTs with no STREAMS devices.
Based on a working group resolution (initial tracking number was req.4.U.00059) no STREAM file descriptors need exist. The code in $TET_ROOT/CAPI/SRC/LIB/capi_user/sreflect.c is sample code which contains functions to:
int stream_reflector_fildes(int fildes[2]) Setup two STREAMS devices in a "loopback" configuration opening both devices and returning file descriptors for them.
char *stream_reflector_name(int *fildes) Setup two STREAMS devices in a "loopback" configuration opening one device and returning a file descriptor for it and not opening the other end and returning a name for it which can be opened later.
void stream_reflector_cleanup(void) Free resources used by stream_reflector_fildes() or stream_reflector_name().
We have not modified these routines because they could not be used. Based on the working group decision we do not provide STREAMS devices.
Therefore we request that a permanent interpretation be granted for these assertions based on this resolution since they would require that stream file descriptors be supported on our implementation in order to pass.
|
Test Output |
IC Start TP Start SPEC1170TESTSUITE CASE 1 A successful call to int close(int fildes) when fildes is associated with a STREAM and the calling process is registered to receive a SIGPOLL signal for events associated with that STREAM shall unregister the process for events associated with the STREAM. PREP: Create a pipe PREP: Determine if pipe is a stream INFO: Pipes are not STREAMs on this implementation PREP: Open master pseudo tty PREP: Determine if pseudo tty is a stream ERROR: Neither pipes nor pseudo terminals are STREAMS based on this implementation. The sample code in $TET_ROOT/CAPI/SRC/LIB/capi_user/sreflect.c must be modified to provide routines with the equivalent functionality and interfaces for the implementation. UNRESOLVED IC End TC End
IC Start TP Start SPEC1170TESTSUITE CASE 4 The time waited for a module or driver with data on its write queue to drain its output by the last successful call to int close(int fildes) for fildes when fildes is associated with a STREAM, O_NONBLOCK is not set for fildes, and no signals are posted for the STREAM shall be changeable via an I_SETCLTIME ioctl(). PREP: Create a pipe PREP: Determine if pipe is a stream INFO: Pipes are not STREAMs on this implementation PREP: Open master pseudo tty PREP: Determine if pseudo tty is a stream ERROR: Neither pipes nor pseudo terminals are STREAMS based on this implementation. The sample code in $TET_ROOT/CAPI/SRC/LIB/capi_user/sreflect.c must be modified to provide routines with the equivalent functionality and interfaces for the implementation. UNRESOLVED IC End TC End
|