Back to home page

LXR

 
 

    


Warning, /testsuites/libtests/termios05/termios05.scn is written in an unsupported language. File is not indexed.

0001 *** BEGIN OF TEST TERMIOS 5 ***
0002 open(/dev/test) - OK
0003 Writing: This is test output.
0004 Transmitted 20 characters
0005 54 68 69 73 20 69 73 20 74 65 73 74 20 6f 75 74 |This is test out|
0006 70 75 74 2e                                     |put.            |
0007 
0008 Reading (expected):
0009 54 65 73 74 20 69 6e 70 75 74 20 74 68 69 73 20 |Test input this |
0010 69 73 2e                                        |is.             |
0011 Read 20 bytes from read(2)
0012 54 65 73 74 20 69 6e 70 75 74 20 74 68 69 73 20 |Test input this |
0013 69 73 2e 0a                                     |is..            |
0014 Echoed 23 characters
0015 0d 0a 54 65 73 74 20 69 6e 70 75 74 20 74 68 69 |..Test input thi|
0016 73 20 69 73 2e 0d 0a                            |s is...         |
0017 
0018 Reading (expected):
0019 31 32 33 35 08 34 35 36 2e                      |1235.456.       |
0020 Read 10 bytes from read(2)
0021 31 32 33 35 08 34 35 36 2e 0a                   |1235.456..      |
0022 Echoed 24 characters
0023 31 00 00 00 00 00 00 00 00 00 00 00 54 68 69 73 |1...........This|
0024 20 69 73 20 74 65 73 74                         | is test        |
0025 
0026 Reading (expected):
0027 74 61 62 09 74 61 62 2e                         |tab.tab.        |
0028 Read 9 bytes from read(2)
0029 74 61 62 09 74 61 62 2e 0a                      |tab.tab..       |
0030 Echoed 25 characters
0031 20 6f 75 74 70 75 74 2e 0d 0a 54 65 73 74 20 69 | output...Test i|
0032 6e 70 75 74 20 74 68 69 73                      |nput this       |
0033 
0034 Reading (expected):
0035 63 72 0d                                        |cr.             |
0036 Read 3 bytes from read(2)
0037 63 72 0a                                        |cr.             |
0038 Echoed 22 characters
0039 20 69 73 2e 0d 0a 31 32 33 35 5e 48 34 35 36 2e | is...1235^H456.|
0040 0d 0a 74 61 62 20                               |..tab           |
0041 
0042 Reading (expected):
0043 61 42 63 44 65 46 67 48 2e                      |aBcDeFgH.       |
0044 Read 11 bytes from read(2)
0045 2e 61 42 63 44 65 46 67 48 2e 0a                |.aBcDeFgH..     |
0046 Echoed 25 characters
0047 20 20 20 20 74 61 62 2e 0d 0a 63 72 0d 0a 2e 61 |    tab...cr...a|
0048 42 63 44 65 46 67 48 2e 0d                      |BcDeFgH..       |
0049 Changing c_iflag to: Enable to lower case mapping on input
0050 
0051 Reading (expected):
0052 61 42 63 44 65 46 67 48 2e                      |aBcDeFgH.       |
0053 Read 10 bytes from read(2)
0054 61 62 63 64 65 66 67 68 2e 0a                   |abcdefgh..      |
0055 Echoed 12 characters
0056 0a 61 62 63 64 65 66 67 68 2e 0d 0a             |.abcdefgh...    |
0057 Changing c_iflag to: Disable to lower case mapping on input
0058 close(/dev/test) - OK
0059 *** END OF TEST TERMIOS 5 ***