Back to home page

LXR

 
 

    


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

0001 *** BEGIN OF TEST TERMIOS 3 ***
0002 open(/dev/test) - OK
0003 Writing: This is test output.
0004 Transmitted 22 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 0d 0a                               |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 21 characters
0015 54 65 73 74 20 69 6e 70 75 74 20 74 68 69 73 20 |Test input this |
0016 69 73 2e 0d 0a                                  |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 12 characters
0023 31 32 33 35 5e 48 34 35 36 2e 0d 0a             |1235^H456...    |
0024 
0025 Reading (expected):
0026 74 61 62 09 74 61 62 2e                         |tab.tab.        |
0027 Read 9 bytes from read(2)
0028 74 61 62 09 74 61 62 2e 0a                      |tab.tab..       |
0029 Echoed 14 characters
0030 74 61 62 20 20 20 20 20 74 61 62 2e 0d 0a       |tab     tab...  |
0031 
0032 Reading (expected):
0033 63 72 0d                                        |cr.             |
0034 Read 3 bytes from read(2)
0035 63 72 0a                                        |cr.             |
0036 Echoed 4 characters
0037 63 72 0d 0a                                     |cr..            |
0038 
0039 Reading (expected):
0040 61 42 63 44 65 46 67 48 2e                      |aBcDeFgH.       |
0041 Read 10 bytes from read(2)
0042 61 42 63 44 65 46 67 48 2e 0a                   |aBcDeFgH..      |
0043 Echoed 11 characters
0044 61 42 63 44 65 46 67 48 2e 0d 0a                |aBcDeFgH...     |
0045 Changing c_iflag to: Enable to lower case mapping on input
0046 
0047 Reading (expected):
0048 61 42 63 44 65 46 67 48 2e                      |aBcDeFgH.       |
0049 Read 10 bytes from read(2)
0050 61 62 63 64 65 66 67 68 2e 0a                   |abcdefgh..      |
0051 Echoed 11 characters
0052 61 62 63 64 65 66 67 68 2e 0d 0a                |abcdefgh...     |
0053 Changing c_iflag to: Disable to lower case mapping on input
0054 
0055 Reading (expected):
0056 54 65 73 74 69 6e 67 20 56 45 52 41 53 45 7f 2e |Testing VERASE..|
0057 Read 15 bytes from read(2)
0058 54 65 73 74 69 6e 67 20 56 45 52 41 53 2e 0a    |Testing VERAS.. |
0059 Echoed 20 characters
0060 54 65 73 74 69 6e 67 20 56 45 52 41 53 45 08 20 |Testing VERASE. |
0061 08 2e 0d 0a                                     |....            |
0062 
0063 Reading (expected):
0064 54 65 73 74 69 6e 67 20 56 4b 49 4c 4c 15 2e    |Testing VKILL.. |
0065 Read 2 bytes from read(2)
0066 2e 0a                                           |..              |
0067 Echoed 55 characters
0068 54 65 73 74 69 6e 67 20 56 4b 49 4c 4c 08 20 08 |Testing VKILL. .|
0069 08 20 08 08 20 08 08 20 08 08 20 08 08 20 08 08 |. .. .. .. .. ..|
0070 20 08 08 20 08 08 20 08 08 20 08 08 20 08 08 20 | .. .. .. .. .. |
0071 08 08 20 08 2e 0d 0a                            |.. ....         |
0072 
0073 Reading (expected):
0074 7f 54 65 73 74 69 6e 67 20 56 45 52 41 53 45 20 |.Testing VERASE |
0075 69 6e 20 63 6f 6c 75 6d 6e 20 31 2e             |in column 1.    |
0076 Read 28 bytes from read(2)
0077 54 65 73 74 69 6e 67 20 56 45 52 41 53 45 20 69 |Testing VERASE i|
0078 6e 20 63 6f 6c 75 6d 6e 20 31 2e 0a             |n column 1..    |
0079 Echoed 29 characters
0080 54 65 73 74 69 6e 67 20 56 45 52 41 53 45 20 69 |Testing VERASE i|
0081 6e 20 63 6f 6c 75 6d 6e 20 31 2e 0d 0a          |n column 1...   |
0082 
0083 Reading (expected):
0084 09 20 74 61 62 20 09 54 65 73 74 69 6e 67 20 56 |. tab .Testing V|
0085 4b 49 4c 4c 20 61 66 74 65 72 20 74 61 62 2e 15 |KILL after tab..|
0086 Read 1 bytes from read(2)
0087 0a                                              |.               |
0088 Echoed 140 characters
0089 20 20 20 20 20 20 20 20 20 74 61 62 20 20 20 20 |         tab    |
0090 54 65 73 74 69 6e 67 20 56 4b 49 4c 4c 20 61 66 |Testing VKILL af|
0091 74 65 72 20 74 61 62 2e 08 20 08 08 20 08 08 20 |ter tab.. .. .. |
0092 08 08 20 08 08 20 08 08 20 08 08 20 08 08 20 08 |.. .. .. .. .. .|
0093 08 20 08 08 20 08 08 20 08 08 20 08 08 20 08 08 |. .. .. .. .. ..|
0094 20 08 08 20 08 08 20 08 08 20 08 08 20 08 08 20 | .. .. .. .. .. |
0095 08 08 20 08 08 20 08 08 20 08 08 20 08 08 20 08 |.. .. .. .. .. .|
0096 08 08 08 08 20 08 08 20 08 08 20 08 08 20 08 08 |.... .. .. .. ..|
0097 20 08 08 08 08 08 08 08 08 08 0d 0a             | ...........    |
0098 
0099 close(/dev/test) - OK
0100 *** END OF TEST TERMIOS 3 ***