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