|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0023 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 0023.
Report 0023 Actions
Problem Report Number 0023 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0023 Raised 1992-09-18 08:00 Updated 2003-03-13 08:00 Published 1992-09-29 08:00 Product Standard Internationalised System Calls and Libraries (XPG4) Certification Program The Open Brand certification program Test Suite VSX4 version 4.2.3 Test Identification POSIX.os/ioprim/fcntl 28 Problem Summary TSD4.023 (Ref. UniSoft: err.4.2.3.074) While testing fcntl with a command of SETFL to test that including O_NOCTTY has no effect, this test fails with child timed out for the following reason. The test initial... Problem Text
(Ref. UniSoft: err.4.2.3.074)
While testing fcntl with a command of SETFL to test that including
O_NOCTTY has no effect, this test fails with child timed out
for the following reason.
The test initially sets up the controlling terminal etc correctly.
The same process opens both ends of the loopback terminal. It then
sends an interrupt character to one end (using write) and expects
itself to be interrupted. The process uses pause to wait for this
signal; however, the signal may already have been caught before the
return from the write system call. Write may not return EINTR
because the data may have already been transferred to the
terminal (which is almost certainly the case because it is this
that causes the interrupt in the first place). In this case the
program has already caught the signal and pause will never be
interrupted.
A fix could be to use a separate process to send the interrupt
with some additional validation to ensure synchronisation.Test Output
/tset/POSIX.os/ioprim/fcntl/T.fcntl 28 Unresolved
Child process timed out
*************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
This is accepted as a test suite error and a permanent waiver is recommended.
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 0023
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority