source: rtems/testsuites/libtests/termios04/termios04.scn @ c4b058ca

5
Last change on this file since c4b058ca was b6eaf429, checked in by Joel Sherrill <joel.sherrill@…>, on 06/28/10 at 14:23:19

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

  • Makefile.am, configure.ac: Add new test to exercise termios RX and TX interrupt driven IO support.
  • termios04/.cvsignore, termios04/Makefile.am, termios04/init.c, termios04/termios04.doc, termios04/termios04.scn, termios04/termios_testdriver_intr.c, termios04/termios_testdriver_intr.h: New files.
  • Property mode set to 100644
File size: 1.5 KB
Line 
1*** TEST TERMIOS04 ***
2open(/dev/test) - OK
3Writing: This is interrupt driven test output.
4Transmitted 39 characters
554 68 69 73 20 69 73 20 69 6e 74 65 72 72 75 70 |This is interrup|
674 20 64 72 69 76 65 6e 20 74 65 73 74 20 6f 75 |t driven test ou|
774 70 75 74 2e 0d 0a                            |tput...         |
8
9Reading (expected):
1042 6c 6f 63 6b 69 6e 67 20 69 6e 74 65 72 72 75 |Blocking interru|
1170 74 20 64 72 69 76 65 6e 20 72 65 61 64 2e    |pt driven read. |
12Read 32 bytes from read(2)
1342 6c 6f 63 6b 69 6e 67 20 69 6e 74 65 72 72 75 |Blocking interru|
1470 74 20 64 72 69 76 65 6e 20 72 65 61 64 2e 0a |pt driven read..|
15As Read 33 characters
1642 6c 6f 63 6b 69 6e 67 20 69 6e 74 65 72 72 75 |Blocking interru|
1770 74 20 64 72 69 76 65 6e 20 72 65 61 64 2e 0d |pt driven read..|
180a                                              |.               |
19
20Reading (expected):
214e 6f 6e 2d 42 6c 6f 63 6b 69 6e 67 20 69 6e 74 |Non-Blocking int|
2265 72 72 75 70 74 20 64 72 69 76 65 6e 20 72 65 |errupt driven re|
2361 64 2e                                        |ad.             |
24Read 36 bytes from read(2)
254e 6f 6e 2d 42 6c 6f 63 6b 69 6e 67 20 69 6e 74 |Non-Blocking int|
2665 72 72 75 70 74 20 64 72 69 76 65 6e 20 72 65 |errupt driven re|
2761 64 2e 0a                                     |ad..            |
28As Read 37 characters
294e 6f 6e 2d 42 6c 6f 63 6b 69 6e 67 20 69 6e 74 |Non-Blocking int|
3065 72 72 75 70 74 20 64 72 69 76 65 6e 20 72 65 |errupt driven re|
3161 64 2e 0d 0a                                  |ad...           |
32close(/dev/test) - OK
33*** END OF TEST TERMIOS04 ***
Note: See TracBrowser for help on using the repository browser.