|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2518 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 2518.
Report 2518 Actions
Problem Report Number 2518 Submitter's Classification Specification problem State Resolved Resolution Permanent Interpretation (PIN) Problem Resolution ID PIN.X.0278 Raised 2006-07-10 16:20 Updated 2006-07-18 18:09 Published 2006-07-18 18:09 Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03) Certification Program The Open Brand certification program Test Suite VSX4 version 4.2.4 Test Identification POSIX.os/devclass/c_iflag 19 Specification Base Definitions Issue 6 Location in Spec See Problem Text Linked Problem Reports 0299, 2615 Problem Summary 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 SA Review Start Date 2006-07-10 16:20 Last Updated 2006-07-18 02:07 Completed 2006-07-18 02:07 Status Complete Review Resolution Permanent Interpretation (PIN) Review Conclusion This PR is recognized as a Permanent Interpretation.
Problem Reporting System Options:
- View Report 2518
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority