|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1224 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 1224.
Report 1224 Actions
Problem Report Number 1224 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0426 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published null 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 PG4U.00041 This was refused because it is a duplicate. Use TSD4U.00093 instead. Problem Text
These tests verify that ENXIO occurs when an I_LINK/I_PLINK is done
for a file descriptor that has received a hangup.
The test strategy creates a pipe and closes one end to generate the
hangup. This is all well and good except that for the args to the ioctl,
where the closed file descriptor is used as the stream to be linked.
Our implementation returns back 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 End
300|5 /tset/CAPIbase/fioctl/fioctl193 08:32:31|Clean Start, scenario ref 111-1072Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We recommend this request be refused.
This is the same as ruling TSD4U.00093
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
This request is refused.
Problem Reporting System Options:
- View Report 1224
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority