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

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 1523 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 1523.


Report 1523 Actions


    Problem Report Number 1523
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0805
    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/ioctl 99
    Problem Summary TSD4U.00008 Test closes wrong side of stream.
    Problem Text
    First, this test needs to be executed using streams ptys there is
    no guarantee this will happen as the test is written now.

    More to the point the test line :

    if(close(fildes[1]) == -1) {

    closes the write side of the pipe not the read side. Closing
    the read side causes the test to generate an EBADF since it
    then tries to do an ioctl on an invalid file descriptor.
    Test Output
    520|1 1 15906 1 3|ENXIO in errno and return -1 on a call to int
    520|1 1 15906 1 4|ioctl(int fildes, I_FDINSERT, struct strfdinsert *arg)
    520|1 1 15906 1 5|when a hangup is received on the STREAMS device
    520|1 1 15906 1 6|referenced by fildes.
    520|1 1 15932 1 1|PREP: Create a pipe
    520|1 1 15932 1 2|PREP: Determine if pipe is a stream
    520|1 1 15932 1 3|PREP: Open master pseudo tty
    520|1 1 15932 1 4|PREP: Determine if pseudo tty is a stream
    520|1 1 15932 1 5|PREP: Open slave side of pseudo tty
    520|1 1 15932 1 6|PREP: Setup strfdinsert structure
    520|1 1 15932 1 7|PREP: Close read end to issue hangup
    520|1 1 15932 1 8|TEST: ioctl returns -1
    520|1 1 15932 1 9|TEST: ioctl placed ENXIO in errno
    520|1 1 15932 1 10|ERROR: ioctl set errno to 9(EBADF - Bad file number)
    220|1 1 1 17:27:07|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 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:

     

    Back   


Contact the Certification Authority