summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/termios06/termios06.scn
blob: 103959723994f281d851388eee09de486714fbde (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
*** BEGIN OF TEST TERMIOS 6 ***
open(/dev/test) - OK
ioctl - RTEMS_IO_SNDWAKEUP - OK
ioctl - RTEMS_IO_RCVWAKEUP - OK
ioctl - TIOCGETD - OK
ioctl - TIOCSETD - OK
pppopen called
ioctl - TIOCSETD - OK
pppclose called
pppopen called
write(PPPD TEST) - OK
pppwrite called - 10 bytes
50 50 50 44 20 54 45 53 54 00                   |PPPD TEST.      |
pppstart called
ioctl(/dev/test) - OK
pppioctl called
tcgetattr(/dev/test) - OK
Turn on flow control on output - OK
Turn off flow control on output - OK
Turn on flow control on input - OK
Turn off flow control on input - OK

Reading (expected):
54 68 69 73 20 69 73 20 74 65 73 74 20 50 50 50 |This is test PPP|
20 69 6e 70 75 74                               | input          |
pppread called
pppinput called - with (T)
pppinput called - with (h)
pppinput called - with (i)
pppinput called - with (s)
pppinput called - with ( )
pppinput called - with (i)
pppinput called - with (s)
pppinput called - with ( )
pppinput called - with (t)
pppinput called - with (e)
pppinput called - with (s)
pppinput called - with (t)
pppinput called - with ( )
pppinput called - with (P)
pppinput called - with (P)
pppinput called - with (P)
pppinput called - with ( )
pppinput called - with (i)
pppinput called - with (n)
pppinput called - with (p)
pppinput called - with (u)
pppinput called - with (t)
pppinput called - with (.)
Rx_Wake - invoked
Read 0 bytes from read(2)
Error: length must be greater than zero.close(/dev/test) - OK
pppclose called
*** END OF TEST TERMIOS 6 ***