|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1075 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 1075.
Report 1075 Actions
Problem Report Number 1075 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0531 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1999-01-28 08:00 Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98) Certification Program The Open Brand certification program Test Suite VSRT version 5.0.2 Test Identification rt.os/aio/aio_read 12 Problem Summary TSD4R.00009 This test may fail on some implementations as it uses a zero-byte transfer, which may be considered to have succeed. Problem Text
This request addresses the following results:
/tset/rt.os/aio/aio_read/T.aio_read 12 Failed
/tset/rt.os/aio/aio_write/T.aio_write 13 Failed
This request addresses only the failures in the "file" cases, not those
associated with pipes or pty's.
In each case, the suite is starting a zero-byte aio operation with
aio_offset set to -1, expecting the implementation to detect the invalid
offset, return -1, and set errno to EINVAL.
Our implementation returns 0 in each case to reflect the successful completion
of a zero-byte asynchronous transfer.
Note that the similar test in lio_listio{37} specifies a single-byte
transfer and passes.
Also note that this behavior of aio_read and aio_write is aligned with
that of pread and pwrite.Test Output
************************************************************************
/tset/rt.os/aio/aio_read/T.aio_read 12 Failed
Test Description:
If _POSIX_ASYNCHRONOUS_IO is defined or the implementation supports
the aio_read() function as described in System Interfaces and Headers,
Issue 5:
When the offset implied by aiocbp->aio_offset would be invalid,
either:
the aio_read() function shall return -1 and set errno to EINVAL
or
the return status of the asynchronous operation shall be set to -1
and its error status shall be set to EINVAL.
Test Information:
> test with file
For offset -1, request did not fail immediately and aio_error returned 0
(NO ERROR), expected EINVAL
For offset -1, request did not fail immediately and aio_return returned
0, expected -1
> test with pipe
For offset -1, request did not fail immediately and aio_error returned 0
(NO ERROR), expected EINVAL
For offset -1, request did not fail immediately and aio_return returned
0, expected -1
> test with pty
For offset -1, request did not fail immediately and aio_error returned 0
(NO ERROR), expected EINVAL
For offset -1, request did not fail immediately and aio_return returned
0, expected -1
> test with tty
tty testing not configured
************************************************************************
************************************************************************
/tset/rt.os/aio/aio_write/T.aio_write 13 Failed
Test Description:
If _POSIX_ASYNCHRONOUS_IO is defined or the implementation supports
the aio_write() function as described in System Interfaces and
Headers, Issue 5:
When the offset implied by aiocbp->aio_offset would be invalid,
either:
the aio_write() function shall return -1 and set errno to EINVAL
or
the return status of the asynchronous operation shall be set to -1
and its error status shall be set to EINVAL.
Test Information:
> test with file
For offset -1, aio_error returned 0 (NO ERROR), expected EINVAL
For offset -1, aio_return returned 0, expected -1
> test with pipe
For offset -1, aio_error returned 0 (NO ERROR), expected EINVAL
For offset -1, aio_return returned 0, expected -1
> test with pty
For offset -1, aio_error returned 0 (NO ERROR), expected EINVAL
For offset -1, aio_return returned 0, expected -1
> test with tty
tty testing not configured
************************************************************************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 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 1075
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority