Repository navigation
Commit 9d2f7f0
ktest: Enable user input to the console
Allow the user to send input to the console by putting the terminal in
cbreak mode (to allow reading stdin one character at a time) and copying
all stdin data to the console's pty.
Link: http://lkml.kernel.org/r/bb1bbe7d202c95a3ce7894cfffdd8c725875978e.1422473610.git.jpoimboe@redhat.com
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>1 parent 9f2cdcb commit 9d2f7f0
1 file changed
Lines changed: 36 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
1458 | 1458 | | |
1459 | 1459 | | |
1460 | 1460 | | |
1461 | | - | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
1462 | 1466 | | |
1463 | 1467 | | |
1464 | 1468 | | |
| |||
1487 | 1491 | | |
1488 | 1492 | | |
1489 | 1493 | | |
1490 | | - | |
| 1494 | + | |
1491 | 1495 | | |
1492 | 1496 | | |
1493 | 1497 | | |
| |||
1827 | 1831 | | |
1828 | 1832 | | |
1829 | 1833 | | |
1830 | | - | |
| 1834 | + | |
| 1835 | + | |
| 1836 | + | |
1831 | 1837 | | |
1832 | 1838 | | |
1833 | 1839 | | |
| |||
1837 | 1843 | | |
1838 | 1844 | | |
1839 | 1845 | | |
1840 | | - | |
| 1846 | + | |
1841 | 1847 | | |
1842 | | - | |
| 1848 | + | |
| 1849 | + | |
1843 | 1850 | | |
1844 | | - | |
1845 | | - | |
1846 | | - | |
1847 | | - | |
1848 | | - | |
| 1851 | + | |
| 1852 | + | |
| 1853 | + | |
1849 | 1854 | | |
1850 | | - | |
1851 | | - | |
1852 | | - | |
| 1855 | + | |
| 1856 | + | |
| 1857 | + | |
| 1858 | + | |
| 1859 | + | |
| 1860 | + | |
1853 | 1861 | | |
1854 | | - | |
| 1862 | + | |
| 1863 | + | |
| 1864 | + | |
| 1865 | + | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
| 1869 | + | |
| 1870 | + | |
| 1871 | + | |
| 1872 | + | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
1855 | 1876 | | |
1856 | 1877 | | |
1857 | 1878 | | |
| |||
0 commit comments