source: rtems/testsuites/libtests/termios03/termios03.scn @ 170f26a

4.115
Last change on this file since 170f26a was 4b4cbdd, checked in by Joel Sherrill <joel.sherrill@…>, on 06/28/10 at 13:42:25

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

  • termios03/init.c, termios03/termios03.doc, termios03/termios03.scn, termios03/termios_testdriver_polled.c, termios03/termios_testdriver_polled.h: Add more test cases.
  • Property mode set to 100644
File size: 2.2 KB
Line 
1*** TEST TERMIOS03 ***
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
54close(/dev/test) - OK
55*** END OF TEST TERMIOS03 ***
Note: See TracBrowser for help on using the repository browser.