|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2570 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 2570.
Report 2570 Actions
Problem Report Number 2570 Submitter's Classification Test Suite problem State Resolved Resolution Minor System Fault (MSF) Problem Resolution ID MSF.X.0110 Raised 2011-11-03 22:51 Updated 2011-11-04 14:52 Published 2011-11-04 14:52 Expiry Date 2012-11-04 Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03) Certification Program The Open Brand certification program Test Suite VSX4 version 4.7.4 Test Identification /tset/XOPEN.os/files/dev_tty/T.dev_tty.1 Specification Base Definitions Issue 6 Location in Spec N/A. Problem Summary /tset/XOPEN.os/files/dev_tty/T.dev_tty 1 fail due to extraneous NULL. Problem Text While the test successfully processes (ignores) the SIGINT, in
termios.c, ptycon(), the SIGINT appears to cause child1 (but not child2)
to write a NULL into the slave side of the loopback PIPE. This causes
the subsequent WRITE data to /dev/tty' READ/VERIFY portion of the test
to fail because the READ string length doesn't match the expected string
length; it's one greater due to the NULL byte prefixing the test
string. Examining termios.c, rdwr() and the contents of the
tty_termios, a 0 length read should always result in a '4' being
written. The NULL is therefore inexplicable, but it has been confirmed
that rdwr() wrote it. NOTE: EINTR is an old ernno, from SIGINT.
At this time, we are requesting a waiver while this issue is investigated.Test Output /tset/XOPEN.os/files/dev_tty/T.dev_tty 1 Failed
Test Description:
The file /dev/tty is, in each process, a synonym for the controlling
terminal associated with the process group of that process, if any.
Test Strategy:
CREATE child process using cppair()
INITIALISE the terminal loop-back mechanism using termios_prep()
SET the signal SIGINT to be caught using sigaction()
WRITE an interrupt character to the loop terminal
VERIFY SIGINT is received
OPEN the file /dev/tty
WRITE data to /dev/tty
READ data from loop terminal
VERIFY correct data was read
Test Information:
read() on VSX_TERMIOS_LOOP failed - errno 4 (EINTR)Review Information
Review Type TSMA Review Start Date 2011-11-03 22:51 Last Updated 2011-11-04 09:39 Completed 2011-11-04 09:39 Status Complete Review Recommendation Minor System Fault (MSF) Review Response This failure is caused by a subtle issue relating to pseudo-terminals
and is not expected to have significant impact on applications.
Therefore a temporary waiver is recommended.
Review Type SA Review Start Date 2011-11-04 17:39 Last Updated 2011-11-04 10:31 Completed 2011-11-04 10:31 Status Complete Review Resolution Minor System Fault (MSF) Review Conclusion This issue is not expected to have significant impact on applications.
Therefore a temporary waiver is granted.
Problem Reporting System Options:
- View Report 2570
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority