Files
rtems/testsuites/libtests/termios02/termios02.scn
Joel Sherrill 9f5f6f533c 2010-06-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* termios01/init.c, termios01/termios01.scn, termios02/init.c,
	termios02/termios02.scn: Add tests for cfigetspeed(), cfogetspeed(),
	cfisetspeed(), cfosetspeed(), ctermid(), tcflow(), tcflush(),
	tcsendbreak(), tcsetpgrp(), and tcgetpgrp(). Some of these methods
	are minimal implementations so the tests will have to grow as the
	methods grow.
2010-06-07 18:33:09 +00:00

28 lines
594 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) - ENOTSUP
tcflush(stdin, TCOFLUSH) - ENOTSUP
tcflush(stdin, TCIOFLUSH) - ENOTSUP
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 ***