|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0466 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 0466.
Report 0466 Actions
Problem Report Number 0466 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0085 Raised 1994-03-08 08:00 Updated 2003-03-13 08:00 Published null Product Standard Internationalised System Calls and Libraries (XPG4) Certification Program The Open Brand certification program Test Suite VSX4 version 4.3.4 Test Identification POSIX.os/devclass/i_spchars 18, 22 Problem Summary PG4R.086 The i_spchars test cases 18 and 22 have problems because they assume that the IEXTEN terminal attribute is off when a terminal is opened, rather than explicitly turning IEXTEN off. This causes problem... Problem Text
The i_spchars test cases 18 and 22 have problems because they
assume that the IEXTEN terminal attribute is off when a terminal
is opened, rather than explicitly turning IEXTEN off. This
causes problems when the RUNMODES for the terminal have
IEXTEN on. One such problem is with the LNEXT character. When
IEXTEN is on, LNEXT processing is in effect, causing any
LNEXT characters read by the TTY to be lost. Tests 18 and 22
create a string to be sent from the loopback to the tty by
looping through all 256 characters, and excluding those
characters that are in the struct termios c_cc[] array, but only
those characters that are in the POSIX standard. Additional
characters, like LNEXT, DSUSP, DISCARD, EOL2, and REPRINT are
still included within the string.
These tests should be reworked to explicitly turn on those
attribute combinations being tested, so no stray attributes like
IEXTEN cause problems.Test Output
***********************************************************************
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 18 Failed
Test Description:
If general terminal interface supported:
If _POSIX_VDISABLE is in effect for the terminal file, for each of
the special characters INTR, QUIT, ERASE, KILL, EOF and EOL, when
the value of the special character is set to the value
_POSIX_VDISABLE (obtained from fpathconf()), then the action
associated with that special character does not occur for any
character received.
Posix Ref: Component Terminal Interface Assertion 7.1.1.9-64(C)
Posix Ref: Component FPATHCONF Assertion 5.7.1.2-25(A)
Test Strategy:
OPEN and initialise terminal file and loop back file
CLEAR NOFLSH and set ICANON and ISIG in terminal control flags
FOR each of the special characters (INTR, QUIT, ERASE, KILL, EOF,
EOL):
SET value of special character to _POSIX_VDISABLE
WRITE all non-special characters (last one NL) to loop back file
READ from terminal file
VERIFY that read() read all data written
VERIFY that special processing is disabled
VERIFY that all other special characters' functions are enabled
Test Information:
with ERASE set to _POSIX_VDISABLE, read() from VSX_TERMIOS_TTY returned
248, expected 249
************************************************************************
************************************************************************
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 22 Failed
Test Description:
If general terminal interface supported:
If _POSIX_VDISABLE is in effect for the terminal file, for each of
the special characters INTR, QUIT, ERASE, KILL, EOF and EOL, when
the value of the special character is set to the value
_POSIX_VDISABLE (obtained from pathconf()), then the action
associated with that special character does not occur for any
character received.
Posix Ref: Component Terminal Interface Assertion 7.1.1.9-64(C)
Posix Ref: Component PATHCONF Assertion 5.7.1.2-47(A)
Test Strategy:
OPEN and initialise terminal file and loop back file
CLEAR NOFLSH and set ICANON and ISIG in terminal control flags
FOR each of the special characters (INTR, QUIT, ERASE, KILL, EOF,
EOL):
SET value of special character to _POSIX_VDISABLE
WRITE all non-special characters (last one NL) to loop back file
READ from terminal file
VERIFY that read() read all data written
VERIFY that special processing is disabled
VERIFY that all other special characters' functions are enabled
Test Information:
with ERASE set to _POSIX_VDISABLE, read() from VSX_TERMIOS_TTY returned
248, expected 249
************************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
The submitter's analysis of these tests is incorrect. The IEXTEN flag
is explicitly cleared after each terminal is opened. This is done in the
functions tty_init() and loop_init() in SRC/common/tsetlib/termios.c.
These functions are called from termios_prep() which is used by the
i_spchars testset to open and initialise the loopback terminals.
It is recommended that this request be refused.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
This request is refused.
Problem Reporting System Options:
- View Report 0466
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority