ktest: Enable user input to the console
authorJosh Poimboeuf <jpoimboe@redhat.com>
Wed, 28 Jan 2015 19:38:39 +0000 (13:38 -0600)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 2 Feb 2015 15:43:24 +0000 (10:43 -0500)
commit9d2f7f051b8917305ea20ed79ff08254ea73f26d
tree4241225b589643b8d7dc70d412d137712e357770
parent9f2cdcbbb90e70e5e8fe6cd30151b8ac1c8745ac
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>
tools/testing/ktest/ktest.pl