|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1214 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 1214.
Report 1214 Actions
Problem Report Number 1214 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0416 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 CAPIbase/fwritev 23 25 27 Problem Summary PG4U.00051 This test may fail on implementations which return an error when an attempt is made to open() a fifo using the undefined flag combination, O_TRUNC|O_RDONLY. Problem Text
This test may fail on implementations which return an error
when an attempt is made to open() a fifo using the undefined
flag combination, O_TRUNC|O_RDONLY.
writev assertions # 23, 25, 27 call open() with O_TRUNC and O_RDONLY:
specifically, open(test_fifo,O_TRUNC|O_RDONLY|O_NONBLOCK)
>From the X/Open specification description of open(), specifically the
description of the O_TRUNC option flag...
"O_TRUNC .... The result of using O_TRUNC with O_RDONLY is undefined"
Clearly this call to open() is a non-portable implementation.Test Output
10|2557 /tset/CAPIbase/fwritev/fwritev23 08:07:19|TC Start, scenario ref -l /tset/CAPIbase/fregcmp/fregcmp21
15|2539 1.10 1|TCM Start
400|2539 23 1 08:07:22|IC Start
200|2539 1 08:07:22|TP Start
520|2539 1 126353440 1 1|SPEC1170TESTSUITE CASE 23
520|2539 1 126353440 1 2|A call to ssize_t writev(int fildes, const stru
520|2539 1 126353440 1 3|iovec *iov, int iovcnt) when O_NONBLOCK is set
520|2539 1 126353440 1 4|FIFO referenced by fildes, the number of bytes
520|2539 1 126353440 1 5|requested is greater than PIPE_BUF and at least
520|2539 1 126353440 1 6|byte can be written shall transfer what it can
520|2539 1 126353440 1 7|return the number of bytes written.
520|2539 1 6357012 1 1|PREP: Create FIFO
520|2539 1 6357012 1 2|PREP: Open FIFO with O_NONBLOCK set
520|2539 1 6357012 1 3|ERROR: open failed, errno = 121(EINVAL - Invalid
220|2539 1 2 08:07:22|UNRESOLVED
410|2539 23 1 08:07:22|IC End
10|2559 /tset/CAPIbase/fwritev/fwritev25 08:07:25|TC Start, scenario ref
15|2541 1.10 1|TCM Start
400|2541 25 1 08:07:29|IC Start
200|2541 1 08:07:29|TP Start
520|2541 1 126484512 1 1|SPEC1170TESTSUITE CASE 25
520|2541 1 126484512 1 2|A call to ssize_t writev(int fildes, const stru
520|2541 1 126484512 1 3|iovec *iov, int iovcnt) when O_NONBLOCK is set
520|2541 1 126484512 1 4|FIFO referenced by fildes, the number of bytes
520|2541 1 126484512 1 5|requested is greater than PIPE_BUF, and the FIF
520|2541 1 126484512 1 6|empty shall transfer at least PIPE_BUF bytes.
520|2541 1 6488084 1 1|PREP: Create FIFO
520|2541 1 6488084 1 2|PREP: Open FIFO with O_NONBLOCK set
520|2541 1 6488084 1 3|ERROR: open failed, errno = 121(EINVAL - Invalid
220|2541 1 2 08:07:29|UNRESOLVED
410|2541 25 1 08:07:29|IC End
80|2559 0 08:07:29|TC End
10|2561 /tset/CAPIbase/fwritev/fwritev27 08:07:32|TC Start, scenario ref
15|2543 1.10 1|TCM Start
400|2543 27 1 08:07:35|IC Start
200|2543 1 08:07:35|TP Start
520|2543 1 126615584 1 1|SPEC1170TESTSUITE CASE 27
520|2543 1 126615584 1 2|A call to ssize_t writev(int fildes, const stru
520|2543 1 126615584 1 3|iovec *iov, int iovcnt) when O_NONBLOCK is set
520|2543 1 126615584 1 4|FIFO referenced by fildes, the number of bytes
520|2543 1 126615584 1 5|requested is greater than PIPE_BUF, and no data
520|2543 1 126615584 1 6|written shall set errno to EAGAIN, and return -
520|2543 1 6619156 1 1|PREP: Create FIFO
520|2543 1 6619156 1 2|PREP: Open FIFO with O_NONBLOCK set
520|2543 1 6619156 1 3|ERROR: open failed, errno = 121(EINVAL - Invalid
220|2543 1 2 08:07:35|UNRESOLVED
410|2543 27 1 08:07:36|IC End
80|2561 0 08:07:36|TC End
Review 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.
Patch 4.1.0B provides a workaround for these failures.
We recommend that the submitter be required to apply this patch
prior to making a their branding run.
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 1214
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority