|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0498 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 0498.
Report 0498 Actions
Problem Report Number 0498 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0117 Raised 1995-09-19 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.5 Test Identification POSIX.os/devclass/c_cflag 6, 7 Problem Summary PG4R.118 We see the following failures on our EBCDIC based system because ./SRC/common/tsetlib/termios.c contains octal representations of ASCII control characters: /tset/POSIX.os/devclass/c_cflag/T.c_cflag 6 ... Problem Text
We see the following failures on our EBCDIC based system because
./SRC/common/tsetlib/termios.c contains octal representations of
ASCII control characters:
/tset/POSIX.os/devclass/c_cflag/T.c_cflag 6 Failed
/tset/POSIX.os/devclass/c_cflag/T.c_cflag 7 Failed
/tset/POSIX.os/devclass/c_iflag/T.c_iflag 14 Failed
/tset/POSIX.os/devclass/c_lflag/T.c_lflag 1 Unresolved
/tset/POSIX.os/devclass/c_lflag/T.c_lflag 3 Unresolved
/tset/POSIX.os/devclass/c_lflag/T.c_lflag 5 Unresolved
/tset/POSIX.os/devclass/c_lflag/T.c_lflag 6 Unresolved
/tset/POSIX.os/devclass/c_lflag/T.c_lflag 7 Unresolved
/tset/POSIX.os/devclass/c_lflag/T.c_lflag 8 Unresolved
/tset/POSIX.os/devclass/c_lflag/T.c_lflag 9 Failed
/tset/POSIX.os/devclass/c_lflag/T.c_lflag 10 Failed
/tset/POSIX.os/devclass/c_lflag/T.c_lflag 11 Failed
/tset/POSIX.os/devclass/cfsetispee/T.cfsetispee 3 Failed
/tset/POSIX.os/devclass/cfsetospee/T.cfsetospee 2 Failed
/tset/POSIX.os/devclass/i_canon/T.i_canon 1 Failed
/tset/POSIX.os/devclass/i_canon/T.i_canon 4 Failed
/tset/POSIX.os/devclass/i_canon/T.i_canon 5 Failed
/tset/POSIX.os/devclass/i_canon/T.i_canon 6 Failed
/tset/POSIX.os/devclass/i_close/T.i_close 1 Failed
/tset/POSIX.os/devclass/i_inproc/T.i_inproc 1 Failed
/tset/POSIX.os/devclass/i_inproc/T.i_inproc 2 Failed
/tset/POSIX.os/devclass/i_inproc/T.i_inproc 3 Failed
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 2 Failed
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 4 Failed
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 6 Failed
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 7 Failed
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 8 Failed
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 9 Failed
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 12 Failed
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 15 Failed
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 18 Failed
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 19 Failed
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 20 Failed
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 21 Failed
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 22 Failed
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 23 Failed
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 24 Failed
/tset/POSIX.os/devclass/tcflow/T.tcflow 1 Failed
/tset/POSIX.os/devclass/tcflow/T.tcflow 14 Failed
common/tsetlib/termios.c has:
public cc_t PERASE = 0177;
public cc_t PKILL = 0025;
public cc_t PINTR = 0003;
public cc_t PQUIT = 0034;
public cc_t PSTART = 0021;
public cc_t PSTOP = 0023;
public cc_t PEOF = 0004;
public cc_t PEOL = 0013;
public cc_t PSUSP = 0032;
These variables are used to tell the kernel, for instance,
that character octal 25 is the "kill character" - kill
the current line of input. These octal values represent
valid ASCII control characters but not valid EBCDIC control
characters.
Valid hex values for an EBCDIC system for termios.c
would be:
public cc_t PERASE = 0x16;
public cc_t PKILL = 0x3d;
public cc_t PINTR = 0x03;
public cc_t PQUIT = 0x32;
public cc_t PSTART = 0x11;
public cc_t PSTOP = 0x13;
public cc_t PEOF = 0x37;
public cc_t PEOL = 0x0b;
public cc_t PSUSP = 0x3f;
When we rerun the above tests with the EBCDIC control characters
specified in termios.c they all PASS.
We believe this is a test suite deficiency.Test Output
**********************************************************************
/tset/POSIX.os/devclass/c_cflag/T.c_cflag 6.Failed
Test Information:
read() returned -1, expected 53
errno was set to 120 (EINTR)
************************************************************************
/tset/POSIX.os/devclass/c_cflag/T.c_cflag 7 Failed
Test Information:
read() returned -1, expected 53
errno was set to 120 (EINTR)
*******************************************************************
/tset/POSIX.os/devclass/c_iflag/T.c_iflag 14 Failed
Test Information:
read 025, expected 015 (CR)
************************************************************************
/tset/POSIX.os/devclass/c_lflag/T.c_lflag 1 Unresolved
Test Information:
read() from VSX_TERMIOS_TTY returned -1, expected 53
errno was set to 120 (EINTR)
read() from VSX_TERMIOS_LOOP returned 52, expected 53
************************************************************************
/tset/POSIX.os/devclass/c_lflag/T.c_lflag 3 Unresolved
Test Information:
read() from VSX_TERMIOS_TTY returned -1, expected 53
errno was set to 120 (EINTR)
************************************************************************
/tset/POSIX.os/devclass/c_lflag/T.c_lflag 5 Unresolved
Test Information:
read() from VSX_TERMIOS_TTY returned -1, expected 52
errno was set to 120 (EINTR)
read() from VSX_TERMIOS_LOOP returned 55, expected 56
************************************************************************
/tset/POSIX.os/devclass/c_lflag/T.c_lflag 6 Unresolved
Test Information:
read() from VSX_TERMIOS_TTY returned -1, expected 1
errno was set to 120 (EINTR)
read() from VSX_TERMIOS_LOOP returned 28, expected 29
************************************************************************
/tset/POSIX.os/devclass/c_lflag/T.c_lflag 7 Unresolved
Test Information:
read() from VSX_TERMIOS_TTY returned -1, expected 53
errno was set to 120 (EINTR)
read() from VSX_TERMIOS_LOOP returned 52, expected 53
*******************************************************************
/tset/POSIX.os/devclass/c_lflag/T.c_lflag 8 Unresolved
Test Information:
read() from VSX_TERMIOS_TTY returned -1, expected 53
errno was set to 120 (EINTR)
read() from VSX_TERMIOS_LOOP returned 0, expected 1
*******************************************************************
/tset/POSIX.os/devclass/c_lflag/T.c_lflag 9 Failed
Test Information:
read() from VSX_TERMIOS_TTY returned -1, expected 2
errno was set to 120 (EINTR)
*******************************************************************
/tset/POSIX.os/devclass/c_lflag/T.c_lflag 10 Failed
Test Information:
read() from VSX_TERMIOS_TTY returned -1, expected 2
errno was set to 120 (EINTR)
*******************************************************************
/tset/POSIX.os/devclass/c_lflag/T.c_lflag 11 Failed
Test Information:
read() from VSX_TERMIOS_TTY returned -1, expected 2
errno was set to 120 (EINTR)
************************************************************************
/tset/POSIX.os/devclass/cfsetispee/T.cfsetispee 3 Failed
Test Information:
read error. B50 test failed
read error. B75 test failed
read error. B110 test failed
read error. B134 test failed
read error. B150 test failed
read error. B200 test failed
read error. B300 test failed
read error. B600 test failed
read error. B1200 test failed
read error. B1800 test failed
read error. B2400 test failed
read error. B4800 test failed
read error. B9600 test failed
read error. B19200 test failed
read error. B38400 test failed
************************************************************************
/tset/POSIX.os/devclass/cfsetospee/T.cfsetospee 2 Failed
Test Information:
error. B50 test failed
error. B75 test failed
error. B110 test failed
error. B134 test failed
error. B150 test failed
error. B200 test failed
error. B300 test failed
error. B600 test failed
error. B1200 test failed
error. B1800 test failed
error. B2400 test failed
error. B4800 test failed
error. B9600 test failed
error. B19200 test failed
error. B38400 test failed
************************************************************************
/tset/POSIX.os/devclass/i_canon/T.i_canon 1 Failed
Test Information:
read 0 bytes, expected 58
read() set errno to 120 (EINTR)
************************************************************************
/tset/POSIX.os/devclass/i_canon/T.i_canon 4 Failed
Test Information:
read() returned -1, expected 58
errno was set to 120 (EINTR)
************************************************************************
/tset/POSIX.os/devclass/i_canon/T.i_canon 5 Failed
Test Information:
read() returned -1, expected 28
errno was set to 120 (EINTR)
************************************************************************
/tset/POSIX.os/devclass/i_canon/T.i_canon 6.Failed
Test Information:
read() returned -1, expected 512
errno was set to 120 (EINTR)
************************************************************************
/tset/POSIX.os/devclass/i_close/T.i_close 1 Failed
Test Information:
read() returned 0, expected 25
************************************************************************
/tset/POSIX.os/devclass/i_inproc/T.i_inproc 1 Failed
Test Information:
read() did not block (until data available)
************************************************************************
/tset/POSIX.os/devclass/i_inproc/T.i_inproc 2 Failed
Test Information:
in canonical mode
read() returned -1, expected 29
errno was set to 112 (EAGAIN)
************************************************************************
/tset/POSIX.os/devclass/i_inproc/T.i_inproc 3 Failed
Test Information:
in canonical mode
read() returned -1, expected 29
errno was set to 112 (EAGAIN)
************************************************************************
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 2 Failed
Test Information:
read() returned -1, expected 11
errno was set to 120 (EINTR)
************************************************************************
tset/POSIX.os/devclass/i_spchars/T.i_spchars 4 Failed
Test Information:
read() returned -1, expected 11
errno was set to 120 (EINTR)
************************************************************************
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 6 Failed
Test Information:
read() returned -1, expected 11
errno was set to 120 (EINTR)
************************************************************************
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 7 Failed
Test Information:
read() returned -1, expected 11
errno was set to 120 (EINTR)
************************************************************************
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 8 Failed
Test Information:
testing 1 ERASE character
read() returned -1, expected 10
errno was set to 120 (EINTR)
testing attempt to ERASE beyond last newline
first read() returned -1, expected 11
errno was set to 120 (EINTR)
testing attempt to ERASE beyond EOF
second read() returned -1, expected 1
errno was set to 120 (EINTR)
testing attempt to ERASE beyond EOL
second read() returned -1, expected 1
errno was set to 120 (EINTR)
************************************************************************
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 9 Failed
Test Information:
testing KILL deletes back to newline
first read() returned -1, expected 11
errno was set to 120 (EINTR)
testing KILL deletes back to EOF
second read() returned -1, expected 1
errno was set to 120 (EINTR)
testing KILL deletes back to EOL
second read() returned -1, expected 1
errno was set to 120 (EINTR)
************************************************************************
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 12 Failed
Test Information:
read() returned -1, expected 11
errno was set to 120 (EINTR)
************************************************************************
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 15 Failed
Test Information:
new ERASE character failed
************************************************************************
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 18 Failed
Test Information:
with INTR set to _POSIX_VDISABLE, read() from VSX_TERMIOS_TTY returned
-1, expected 250
errno was set to 120 (EINTR)
with QUIT set to _POSIX_VDISABLE, read() from VSX_TERMIOS_TTY returned
-1, expected 250
errno was set to 120 (EINTR)
with ERASE set to _POSIX_VDISABLE, read() from VSX_TERMIOS_TTY returned
-1, expected 250
errno was set to 120 (EINTR)
with KILL set to _POSIX_VDISABLE, read() from VSX_TERMIOS_TTY returned
249, expected 250
with EOF set to _POSIX_VDISABLE, read() from VSX_TERMIOS_TTY returned
-1, expected 250
errno was set to 120 (EINTR)
with EOL set to _POSIX_VDISABLE, read() from VSX_TERMIOS_TTY returned
-1, expected 250
errno was set to 120 (EINTR)
************************************************************************
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 19 Failed
Test Information:
with SUSP set to _POSIX_VDISABLE, read() from VSX_TERMIOS_TTY returned
-1, expected 250
errno was set to 120 (EINTR)
*******************************************************************
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 20 Failed
Test Information:
with STOP set to _POSIX_VDISABLE, read() from VSX_TERMIOS_TTY returned
-1, expected 250
errno was set to 120 (EINTR)
with START set to _POSIX_VDISABLE, read() from VSX_TERMIOS_TTY returned
-1, expected 250
errno was set to 120 (EINTR)
*******************************************************************
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 21 Failed
Test Information:
with IEXTEN clear, read() from VSX_TERMIOS_TTY returned -1, expected 250
errno was set to 120 (EINTR)
************************************************************************
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 22 Failed
Test Information:
with INTR set to _POSIX_VDISABLE, read() from VSX_TERMIOS_TTY returned
-1, expected 250
errno was set to 120 (EINTR)
with QUIT set to _POSIX_VDISABLE, read() from VSX_TERMIOS_TTY returned
-1, expected 250
errno was set to 120 (EINTR)
with ERASE set to _POSIX_VDISABLE, read() from VSX_TERMIOS_TTY returned
-1, expected 250
errno was set to 120 (EINTR)
with KILL set to _POSIX_VDISABLE, read() from VSX_TERMIOS_TTY returned
249, expected 250
with EOF set to _POSIX_VDISABLE, read() from VSX_TERMIOS_TTY returned
-1, expected 250
errno was set to 120 (EINTR)
with EOL set to _POSIX_VDISABLE, read() from VSX_TERMIOS_TTY returned
-1, expected 250
errno was set to 120 (EINTR)
*******************************************************************
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 23 Failed
Test Information:
with SUSP set to _POSIX_VDISABLE, read() from VSX_TERMIOS_TTY returned
-1, expected 250
errno was set to 120 (EINTR)
************************************************************************
/tset/POSIX.os/devclass/i_spchars/T.i_spchars 24 Failed
Test Information:
with STOP set to _POSIX_VDISABLE, read() from VSX_TERMIOS_TTY returned
-1, expected 250
errno was set to 120 (EINTR)
with START set to _POSIX_VDISABLE, read() from VSX_TERMIOS_TTY returned
-1, expected 250
errno was set to 120 (EINTR)
************************************************************************
/tset/POSIX.os/devclass/tcflow/T.tcflow 1 Failed
Test Information:
read() from VSX_TERMIOS_TTY failed when newly opened
read() from newly opened terminal timed out
************************************************************************
/tset/POSIX.os/devclass/tcflow/T.tcflow 14 Failed
Test Information:
tcflow(TCOON) action was not performed
when TOSTOP bit was set
tcflow(TCOON) action was not performed
when TOSTOP bit was clear
*******************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
This is agreed to be a test suite fault and it is recommended that a
patch is issued to cover this difference between ASCII and EBCDIC
implementations.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
This request is refused. A patch is to be issued.
Problem Reporting System Options:
- View Report 0498
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority