source: rtems/testsuites/libtests/termios10/termios10.scn @ 667501a

5
Last change on this file since 667501a was 667501a, checked in by Joel Sherrill <joel@…>, on 10/02/19 at 21:49:00

termios: Add Capability to Generate SIGINTR and SIGQUIT

This patch adds the ability for termios to send SIGINTR on receipt
of VINTR and SIGQUIT for VKILL and return -1/EINTR from read() on
a termios channel. Importantly, this patch does not alter the default
behavior or force POSIX signal code in just because termios is used.
The application must explicitly enable the POSIX behavior of generating
a signal upon receipt of these characters. This is discussed in the
POSIX standard:

https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap11.html

Closes #3800.

  • Property mode set to 100644
File size: 555 bytes
Line 
1*** BEGIN OF TEST TERMIOS 10 -- Polled ***
2Exercise default ISIG handler with ISIG enabled
3Test read for VKILL - no signals
4Test read for VQUIT - no signals
5Exercise POSIX ISIG handler with ISIG enabled
6Test read for VKILL - signal caught
7Test read for VQUIT - signal caught
8Exercise default ISIG handler with ISIG enabled
9Test read for VKILL - signal caught
10Test read for VQUIT - signal caught
11Exercise POSIX ISIG handler with ISIG disabled
12Test read for VKILL - signal caught
13Test read for VQUIT - signal caught
14*** END OF TEST TERMIOS 10 -- Polled ***
Note: See TracBrowser for help on using the repository browser.