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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1506 Actions


    Problem Report Number 1506
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0788
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1995-06-01 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 59
    Problem Summary TSD4U.00025 This test fails because it is not passing a zero length control message as per the assertion.
    Problem Text
    This test fails because it is not passing a zero length control message
    as per the assertion. The call to send the control message is as follows

    if((result = putpmsg(fildes[1], NULL, &data, band, flags)) == -1) {

    Note that ctrlptr is NULL. The spec states

    No data (control) part will be sent if either dataptr (ctlptr) is
    a null pointer or the len member of dataptr (ctlptr) is set to
    -1


    Since crtlptr is NULL no messge is sent and the ctrlbuf.len member
    returned by the ioctl call is -1, as it should be.
    Test Output
    520|1 1 12658 1 3|A successful call to int ioctl(int fildes, I_PEEK,
    520|1 1 12658 1 4|strpeek *arg) when fildes refers to a STREAMS device
    520|1 1 12658 1 5|and the control part of the message is 0 length shall
    520|1 1 12658 1 6|set the ctlbuf.len member of the structure pointed to
    520|1 1 12658 1 7|by arg to 0 and return a value other than -1.
    520|1 1 12721 1 1|PREP: Create a pipe
    520|1 1 12721 1 2|PREP: Determine if pipe is a stream
    520|1 1 12721 1 3|PREP: Open master pseudo tty
    520|1 1 12721 1 4|PREP: Determine if pseudo tty is a stream
    520|1 1 12721 1 5|PREP: Open slave side of pseudo tty
    520|1 1 12721 1 6|PREP: Set O_NONBLOCK on read end of STREAM
    520|1 1 12721 1 7|PREP: Put a normal priority message on the STREAM
    520|1 1 12721 1 8|TEST: ioctl returns other than -1
    520|1 1 12721 1 9|TEST: ctlbuf.len member is set to 0
    520|1 1 12721 1 10|ERROR: len member value incorrect
    520|1 1 12721 1 11| Expected 0
    520|1 1 12721 1 12| Received -1
    220|1 1 1 11:51:32|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