summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/termios04/termios04.scn
blob: 812369a4d5cd7bc24cd624d9723440352c8d5b25 (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
*** BEGIN OF TEST TERMIOS 4 ***
open(/dev/test) - OK
Writing: This is interrupt driven test output.
Transmitted 39 characters
54 68 69 73 20 69 73 20 69 6e 74 65 72 72 75 70 |This is interrup|
74 20 64 72 69 76 65 6e 20 74 65 73 74 20 6f 75 |t driven test ou|
74 70 75 74 2e 0d 0a                            |tput...         |

Reading (expected):
42 6c 6f 63 6b 69 6e 67 20 69 6e 74 65 72 72 75 |Blocking interru|
70 74 20 64 72 69 76 65 6e 20 72 65 61 64 2e    |pt driven read. |
Read 32 bytes from read(2)
42 6c 6f 63 6b 69 6e 67 20 69 6e 74 65 72 72 75 |Blocking interru|
70 74 20 64 72 69 76 65 6e 20 72 65 61 64 2e 0a |pt driven read..|
As Read 33 characters
42 6c 6f 63 6b 69 6e 67 20 69 6e 74 65 72 72 75 |Blocking interru|
70 74 20 64 72 69 76 65 6e 20 72 65 61 64 2e 0d |pt driven read..|
0a                                              |.               |

Reading (expected):
4e 6f 6e 2d 42 6c 6f 63 6b 69 6e 67 20 69 6e 74 |Non-Blocking int|
65 72 72 75 70 74 20 64 72 69 76 65 6e 20 72 65 |errupt driven re|
61 64 2e                                        |ad.             |
Read 36 bytes from read(2)
4e 6f 6e 2d 42 6c 6f 63 6b 69 6e 67 20 69 6e 74 |Non-Blocking int|
65 72 72 75 70 74 20 64 72 69 76 65 6e 20 72 65 |errupt driven re|
61 64 2e 0a                                     |ad..            |
As Read 37 characters
4e 6f 6e 2d 42 6c 6f 63 6b 69 6e 67 20 69 6e 74 |Non-Blocking int|
65 72 72 75 70 74 20 64 72 69 76 65 6e 20 72 65 |errupt driven re|
61 64 2e 0d 0a                                  |ad...           |
close(/dev/test) - OK
*** END OF TEST TERMIOS 4 ***