|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1440 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 1440.
Report 1440 Actions
Problem Report Number 1440 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0722 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1995-12-15 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 base/ioctl 173 193 Problem Summary TSD4U.00093 This test may fail on implementations that detect EBADF before ENXIO. Problem Text
This test may fail on implementations that detect EBADF before ENXIO.
These tests verify that ENXIO occurs when you do an I_LINK/I_PLINK on
an fd that has received a hangup.
The way the test does it is to create a pipe and close one end to
generate the hangup. This is all well and good except that for the
the closed file descriptor is then used as the stream to be linked
in the ioctl() call.
On our implementation the ioctl() call returns an EBADF, which is
correct. When two (or more) errors exist, the standard does not
specify which errno has precedence so the tests are in error.Test Output
110|0 /tset/CAPIbase/fioctl/fioctl173 08:32:06|Build Start, scenario ref 111-1052
130|0 0 08:32:20|Build End
10|1 /tset/CAPIbase/fioctl/fioctl173 08:32:20|TC Start, scenario ref 111-1052
15|1 1.10 1|TCM Start
400|1 173 1 08:32:20|IC Start
200|1 1 08:32:20|TP Start
520|1 1 528 1 1|SPEC1170TESTSUITE CASE 173
520|1 1 528 1 2|ENXIO in errno and return -1 on a call to int
520|1 1 528 1 3|ioctl(int fildes, I_LINK, int arg) when a hangup is
520|1 1 528 1 4|received on the STREAMS device referenced by fildes.
520|1 1 529 1 1|PREP: Create a pipe
520|1 1 529 1 2|PREP: Determine if pipe is a stream
520|1 1 529 1 3|PREP: Close read end to generate hangup
520|1 1 529 1 4|TEST: ioctl returns -1
520|1 1 529 1 5|TEST: ioctl placed ENXIO in errno
520|1 1 529 1 6|ERROR: ioctl set errno to 9(EBADF - Bad file number)
220|1 1 1 08:32:21|FAIL
410|1 173 1 08:32:21|IC End
80|1 0 08:32:21|TC End
300|2 /tset/CAPIbase/fioctl/fioctl173 08:32:21|Clean Start, scenario ref 111-1052
320|2 0 08:32:21|Clean End
110|3 /tset/CAPIbase/fioctl/fioctl193 08:32:21|Build Start, scenario ref 111-1072
130|3 0 08:32:31|Build End
10|4 /tset/CAPIbase/fioctl/fioctl193 08:32:31|TC Start, scenario ref 111-1072
15|4 1.10 1|TCM Start
400|4 193 1 08:32:31|IC Start
200|4 1 08:32:31|TP Start
520|4 1 547 1 1|SPEC1170TESTSUITE CASE 193
520|4 1 547 1 2|ENXIO in errno and return -1 on a call to int
520|4 1 547 1 3|ioctl(int fildes, I_PLINK, int arg) when a hangup is
520|4 1 547 1 4|received on the STREAMS device referenced by fildes.
520|4 1 548 1 1|PREP: Create a pipe
520|4 1 548 1 2|PREP: Determine if pipe is a stream
520|4 1 548 1 3|PREP: Close read end to generate hangup
520|4 1 548 1 4|TEST: ioctl returns -1
520|4 1 548 1 5|TEST: ioctl placed ENXIO in errno
520|4 1 548 1 6|ERROR: ioctl set errno to 9(EBADF - Bad file number)
220|4 1 1 08:32:31|FAIL
410|4 193 1 08:32:31|IC End
80|4 0 08:32:31|TC EndReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We agree this is a test suite deficiency in the test
suite version(s) listed.
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 1440
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority