source: rtems/testsuites/libtests/termios05/termios05.scn @ 7424c3ee

4.115
Last change on this file since 7424c3ee was 7424c3ee, checked in by Joel Sherrill <joel.sherrill@…>, on 07/01/10 at 14:35:00

2010-07-01 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, configure.ac: Add test for task driven drivers.
  • termios05/.cvsignore, termios05/Makefile.am, termios05/init.c, termios05/termios05.doc, termios05/termios05.scn, termios05/termios_testdriver_taskdriven.c, termios05/termios_testdriver_taskdriven.h: New files.
  • Property mode set to 100644
File size: 2.4 KB
Line 
1*** TEST TERMIOS05 ***
2open(/dev/test) - OK
3Writing: This is test output.
4Transmitted 20 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                                     |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 23 characters
150d 0a 54 65 73 74 20 69 6e 70 75 74 20 74 68 69 |..Test input thi|
1673 20 69 73 2e 0d 0a                            |s 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 24 characters
2331 00 00 00 00 00 00 00 00 00 00 00 54 68 69 73 |1...........This|
2420 69 73 20 74 65 73 74                         | is test        |
25
26Reading (expected):
2774 61 62 09 74 61 62 2e                         |tab.tab.        |
28Read 9 bytes from read(2)
2974 61 62 09 74 61 62 2e 0a                      |tab.tab..       |
30Echoed 25 characters
3120 6f 75 74 70 75 74 2e 0d 0a 54 65 73 74 20 69 | output...Test i|
326e 70 75 74 20 74 68 69 73                      |nput this       |
33
34Reading (expected):
3563 72 0d                                        |cr.             |
36Read 3 bytes from read(2)
3763 72 0a                                        |cr.             |
38Echoed 22 characters
3920 69 73 2e 0d 0a 31 32 33 35 5e 48 34 35 36 2e | is...1235^H456.|
400d 0a 74 61 62 20                               |..tab           |
41
42Reading (expected):
4361 42 63 44 65 46 67 48 2e                      |aBcDeFgH.       |
44Read 11 bytes from read(2)
452e 61 42 63 44 65 46 67 48 2e 0a                |.aBcDeFgH..     |
46Echoed 25 characters
4720 20 20 20 74 61 62 2e 0d 0a 63 72 0d 0a 2e 61 |    tab...cr...a|
4842 63 44 65 46 67 48 2e 0d                      |BcDeFgH..       |
49Changing c_iflag to: Enable to lower case mapping on input
50
51Reading (expected):
5261 42 63 44 65 46 67 48 2e                      |aBcDeFgH.       |
53Read 10 bytes from read(2)
5461 62 63 64 65 66 67 68 2e 0a                   |abcdefgh..      |
55Echoed 12 characters
560a 61 62 63 64 65 66 67 68 2e 0d 0a             |.abcdefgh...    |
57Changing c_iflag to: Disable to lower case mapping on input
58close(/dev/test) - OK
59*** END OF TEST TERMIOS05 ***
Note: See TracBrowser for help on using the repository browser.