Files
rtems/testsuites/libtests/termios02/termios02.scn
Sebastian Huber b0da579608 termios: Implement tcflush()
New IO control RTEMS_IO_TCFLUSH.
2012-12-13 11:36:37 +01:00

28 lines
579 B
Plaintext

*** TERMIOS 02 TEST ***
tcdrain(12) - EBADF
tcdrain(stdin) - OK
tcdrain(stdout) - OK
tcdrain(stderr) - OK
tcflow(stdin, TCOOFF) - ENOTSUP
tcflow(stdin, TCOON) - ENOTSUP
tcflow(stdin, TCIOFF) - ENOTSUP
tcflow(stdin, TCION) - ENOTSUP
tcflow(stdin, 22) - EINVAL
tcflush(stdin, TCIFLUSH) - OK
tcflush(stdin, TCOFLUSH) - OK
tcflush(stdin, TCIOFLUSH) - OK
tcflush(stdin, 22) - EINVAL
tcgetpgrp( 1 ) - OK
tcsetpgrp( 1, 3 ) - OK
tcsendbreak( 1, 0 ) - OK
ctermid( NULL ) - OK
ctermid ==> /dev/console
ctermid( term_name ) - OK
ctermid ==> /dev/console
*** END OF TERMIOS 02 TEST ***