source: rtems/testsuites/libtests/termios02/termios02.scn @ 78da8ac3

4.115
Last change on this file since 78da8ac3 was 9f5f6f53, checked in by Joel Sherrill <joel.sherrill@…>, on 06/07/10 at 18:33:09

2010-06-07 Joel Sherrill <joel.sherrill@…>

  • 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.
  • Property mode set to 100644
File size: 594 bytes
Line 
1*** TERMIOS 02 TEST ***
2tcdrain(12) - EBADF
3tcdrain(stdin) - OK
4tcdrain(stdout) - OK
5tcdrain(stderr) - OK
6
7tcflow(stdin, TCOOFF) - ENOTSUP
8tcflow(stdin, TCOON) - ENOTSUP
9tcflow(stdin, TCIOFF) - ENOTSUP
10tcflow(stdin, TCION) - ENOTSUP
11tcflow(stdin, 22) - EINVAL
12
13tcflush(stdin, TCIFLUSH) - ENOTSUP
14tcflush(stdin, TCOFLUSH) - ENOTSUP
15tcflush(stdin, TCIOFLUSH) - ENOTSUP
16tcflush(stdin, 22) - EINVAL
17
18tcgetpgrp( 1 ) - OK
19tcsetpgrp( 1, 3 ) - OK
20
21tcsendbreak( 1, 0 ) - OK
22
23ctermid( NULL ) - OK
24ctermid ==> /dev/console
25ctermid( term_name ) - OK
26ctermid ==> /dev/console
27*** END OF TERMIOS 02 TEST ***
Note: See TracBrowser for help on using the repository browser.