]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ktest: Make the signal to terminate the console configurable
authorSatoru Takeuchi <satoru.takeuchi@gmail.com>
Sat, 30 Nov 2013 22:57:58 +0000 (07:57 +0900)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 3 Dec 2013 16:56:07 +0000 (11:56 -0500)
commit5a5d8e4844987b6d8d64d583eb33dd926973a270
tree05f4ae258dcf6176d37dc726f7c73bffc6526f6e
parent5a5a1bf099d6942399ea0b34a62e5f0bc4c5c36e
ktest: Make the signal to terminate the console configurable

 Currently ktest sends SIGINT to terminate the console.
 However, there are consoles which do not exit by this signal, for example,
 in my case, "virsh console <guest OS>". In such case, ktest is blocked in
 close_console(). It prevents this automate test.

This patch adds new option CLOSE_CONSOLE_SIGNAL which mean the
signal to terminate the console. Since its default value is "INT",
the original behavior isn't changed.

Link: http://lkml.kernel.org/r/87zjol8pl5.wl%satoru.takeuchi@gmail.com
Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl