|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0299 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 0299.
Report 0299 Actions
Problem Report Number 0299 Submitter's Classification Specification problem State Resolved Resolution Permanent Interpretation (PIN) Problem Resolution ID PIN.X.0015 Raised 1993-12-16 08:00 Updated 2003-03-13 08:00 Published 1993-12-22 08:00 Product Standard Internationalised System Calls and Libraries (XPG4) Certification Program The Open Brand certification program Test Suite VSX4 version 4.2.4 Test Identification POSIX.os/devclass/c_iflag 19 Specification System Interfaces and Headers Issue 4 Location in Spec See Problem Text Linked Problem Reports PIN4.010, (in, old, system) Problem Summary PIN4.015 . Summary of tests failed: POSIX.os/devclass/c_iflag 19 Our system (SVR4 based) does not support locally connected asynchronous terminals. In order to run VSX tests, we use a pseudo-tty loopback to si... Problem Text
.
Summary of tests failed:
POSIX.os/devclass/c_iflag 19
Our system (SVR4 based) does not support locally connected asynchronous
terminals. In order to run VSX tests, we use a pseudo-tty loopback to simulate
the hardware terminal interface. Because of the limitations on software
simulation, hardware related features are not supported, such as parity
generation/detection, character size, and START/STOP characters.
This failure is related to the hardware features of a asynchronous
terminal. For this reason, we request a waiver for it.Test Output
************************************************************************
/tset/POSIX.os/devclass/c_iflag/T.c_iflag 19 Failed
Test Description:
If general terminal interface supported:
When IXOFF is set the system shall transmit one or more STOP
characters as needed to prevent the number of characters in the
input queue from exceeding its capacity. The system shall transmit
one or more START characters as needed to start transmitting data.
CONDITIONAL: If _POSIX_MAX_INPUT <= MAX_INPUT <= PCTS_MAX_INPUT
assertion is base (type C) otherwise assertion is extended (type
D).
Posix Ref: Component Settable Parameters Assertion 7.1.2.2-32(C:D)
Posix Ref: Component Settable Parameters Assertion 7.1.2.2-33(C:D)
Test Strategy:
OPEN and initialise terminal file and loop back file (having SAME
parity)
OBTAIN max_input from fpathconf(tty_fildes, _PC_MAX_INPUT)
SET IXON, VMIN=0 and VTIME=10 in loop back control flags
CLEAR ICANON in loop back control flags
SET IXOFF, VMIN=0 and VTIME=10 in terminal control flags
CLEAR ICANON in terminal control flags
CREATE child process
UNTIL a timeout occurs
SET TIMEOUT of WAITTIME/2 seconds
WRITE string to loop back file
FLUSH output queue on loop back file using tcflush(fd, TCOFLUSH)
READ entire input queue from terminal file
SET capacity to the greater of the number of bytes read and
max_input
CLEAR IXON in loop back control flags
UNTIL capacity bytes have been written
WRITE string to loop back file
SLEEP to allow data to transfer to terminal file
READ from loop back file
VERIFY that read() read at least one STOP character
UNTIL capacity bytes have been read or a read error occurs
READ from terminal file
SLEEP to allow more data to become available
VERIFY that capacity bytes in total were read
READ from loop back file
VERIFY that read() read at least one START character
Test Information:
after input queue filled to 1598 bytes, attempt
to read() STOP character(s) returned 0, expected >= 1
************************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
It is accepted that flow control is not necessarily supported by the use of
START and STOP characters across a pseudo-tty loopback. A permanent
interpretation is recommended.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Permanent Interpretation (PIN) Review Conclusion
A permanent interpretation is granted.
Problem Reporting System Options:
- View Report 0299
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority