HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 1605 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 1605.


Report 1605 Actions


    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

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    req.4.U.00059 contends that STREAMS are not required. We argued
    that they were. The issue went for review, and was discussed at
    the November 95 BWG meeting, The BWG felt unable to decide and
    referred the matter back to X/Open. X/Open eventually refused
    req.4.U.00059 as PG4U.00038.

    We still recommend this request be refused as per our response in
    PG4U.00038.

    However, this issue was raised again at the February 96 working group
    meeting. The minutes state that

    After some discussion, it was agreed that this issues arises from
    a deficiency in the specification, in that it fails to clearly
    indicate that implementation should implement at least one
    STREAMS device. The group agreed that "none" should be an
    acceptable answer to question 17 in the CSQ ("What networking
    services or other character-based device types are implemented
    using STREAMS?"). The deficiency in the specification will be
    fixed in the next release. This decision is recorded in
    Resolution 96-2-5.

    This may affect X/Open's final decision.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution No Resolution Given
    Review Conclusion
    In view of the Base Working Group's resolution 96-2-5. A Permanent
    Interpretation should be granted.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Permanent Interpretation (PIN)
    Review Conclusion
    A Permanent Interpretation is granted.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority