source: rtems/testsuites/libtests/termios03/termios03.scn @ 1c6926c1

5
Last change on this file since 1c6926c1 was 1c6926c1, checked in by Kevin Kirspel <kevin-kirspel@…>, on 03/21/17 at 19:39:48

termios: Synchronize with latest FreeBSD headers

Adding modified FreeBSD headers to synchronize RTEMS termios with
FreeBSD. Modify termios to support dedicated input and output baud for
termios structure. Updated BSPs to use dedicated input and output baud
in termios structure. Updated tools to use dedicated input and output
baud in termios structure. Updated termios testsuites to use dedicated
input and output baud in termios structure.

Close #2897.

  • Property mode set to 100644
File size: 4.3 KB
Line 
1*** BEGIN OF TEST TERMIOS 3 ***
2open(/dev/test) - OK
3Writing: This is test output.
4Transmitted 22 characters
554 68 69 73 20 69 73 20 74 65 73 74 20 6f 75 74 |This is test out|
670 75 74 2e 0d 0a                               |put...          |
7
8Reading (expected):
954 65 73 74 20 69 6e 70 75 74 20 74 68 69 73 20 |Test input this |
1069 73 2e                                        |is.             |
11Read 20 bytes from read(2)
1254 65 73 74 20 69 6e 70 75 74 20 74 68 69 73 20 |Test input this |
1369 73 2e 0a                                     |is..            |
14Echoed 21 characters
1554 65 73 74 20 69 6e 70 75 74 20 74 68 69 73 20 |Test input this |
1669 73 2e 0d 0a                                  |is...           |
17
18Reading (expected):
1931 32 33 35 08 34 35 36 2e                      |1235.456.       |
20Read 10 bytes from read(2)
2131 32 33 35 08 34 35 36 2e 0a                   |1235.456..      |
22Echoed 12 characters
2331 32 33 35 5e 48 34 35 36 2e 0d 0a             |1235^H456...    |
24
25Reading (expected):
2674 61 62 09 74 61 62 2e                         |tab.tab.        |
27Read 9 bytes from read(2)
2874 61 62 09 74 61 62 2e 0a                      |tab.tab..       |
29Echoed 14 characters
3074 61 62 20 20 20 20 20 74 61 62 2e 0d 0a       |tab     tab...  |
31
32Reading (expected):
3363 72 0d                                        |cr.             |
34Read 3 bytes from read(2)
3563 72 0a                                        |cr.             |
36Echoed 4 characters
3763 72 0d 0a                                     |cr..            |
38
39Reading (expected):
4061 42 63 44 65 46 67 48 2e                      |aBcDeFgH.       |
41Read 10 bytes from read(2)
4261 42 63 44 65 46 67 48 2e 0a                   |aBcDeFgH..      |
43Echoed 11 characters
4461 42 63 44 65 46 67 48 2e 0d 0a                |aBcDeFgH...     |
45Changing c_iflag to: Enable to lower case mapping on input
46
47Reading (expected):
4861 42 63 44 65 46 67 48 2e                      |aBcDeFgH.       |
49Read 10 bytes from read(2)
5061 62 63 64 65 66 67 68 2e 0a                   |abcdefgh..      |
51Echoed 11 characters
5261 62 63 64 65 66 67 68 2e 0d 0a                |abcdefgh...     |
53Changing c_iflag to: Disable to lower case mapping on input
54
55Reading (expected):
5654 65 73 74 69 6e 67 20 56 45 52 41 53 45 7f 2e |Testing VERASE..|
57Read 15 bytes from read(2)
5854 65 73 74 69 6e 67 20 56 45 52 41 53 2e 0a    |Testing VERAS.. |
59Echoed 20 characters
6054 65 73 74 69 6e 67 20 56 45 52 41 53 45 08 20 |Testing VERASE. |
6108 2e 0d 0a                                     |....            |
62
63Reading (expected):
6454 65 73 74 69 6e 67 20 56 4b 49 4c 4c 15 2e    |Testing VKILL.. |
65Read 2 bytes from read(2)
662e 0a                                           |..              |
67Echoed 55 characters
6854 65 73 74 69 6e 67 20 56 4b 49 4c 4c 08 20 08 |Testing VKILL. .|
6908 20 08 08 20 08 08 20 08 08 20 08 08 20 08 08 |. .. .. .. .. ..|
7020 08 08 20 08 08 20 08 08 20 08 08 20 08 08 20 | .. .. .. .. .. |
7108 08 20 08 2e 0d 0a                            |.. ....         |
72
73Reading (expected):
747f 54 65 73 74 69 6e 67 20 56 45 52 41 53 45 20 |.Testing VERASE |
7569 6e 20 63 6f 6c 75 6d 6e 20 31 2e             |in column 1.    |
76Read 28 bytes from read(2)
7754 65 73 74 69 6e 67 20 56 45 52 41 53 45 20 69 |Testing VERASE i|
786e 20 63 6f 6c 75 6d 6e 20 31 2e 0a             |n column 1..    |
79Echoed 29 characters
8054 65 73 74 69 6e 67 20 56 45 52 41 53 45 20 69 |Testing VERASE i|
816e 20 63 6f 6c 75 6d 6e 20 31 2e 0d 0a          |n column 1...   |
82
83Reading (expected):
8409 20 74 61 62 20 09 54 65 73 74 69 6e 67 20 56 |. tab .Testing V|
854b 49 4c 4c 20 61 66 74 65 72 20 74 61 62 2e 15 |KILL after tab..|
86Read 1 bytes from read(2)
870a                                              |.               |
88Echoed 140 characters
8920 20 20 20 20 20 20 20 20 74 61 62 20 20 20 20 |         tab    |
9054 65 73 74 69 6e 67 20 56 4b 49 4c 4c 20 61 66 |Testing VKILL af|
9174 65 72 20 74 61 62 2e 08 20 08 08 20 08 08 20 |ter tab.. .. .. |
9208 08 20 08 08 20 08 08 20 08 08 20 08 08 20 08 |.. .. .. .. .. .|
9308 20 08 08 20 08 08 20 08 08 20 08 08 20 08 08 |. .. .. .. .. ..|
9420 08 08 20 08 08 20 08 08 20 08 08 20 08 08 20 | .. .. .. .. .. |
9508 08 20 08 08 20 08 08 20 08 08 20 08 08 20 08 |.. .. .. .. .. .|
9608 08 08 08 20 08 08 20 08 08 20 08 08 20 08 08 |.... .. .. .. ..|
9720 08 08 08 08 08 08 08 08 08 0d 0a             | ...........    |
98
99close(/dev/test) - OK
100*** END OF TEST TERMIOS 3 ***
Note: See TracBrowser for help on using the repository browser.