]> git.baikalelectronics.ru Git - kernel.git/commit
ktest: add 2nd parameter of run_command() to set the redirect target file
authorSatoru Takeuchi <satoru.takeuchi@gmail.com>
Sun, 2 Mar 2014 12:20:31 +0000 (21:20 +0900)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 24 Apr 2014 03:18:09 +0000 (23:18 -0400)
commit9b5565eb683364f0c959f948f6f422fc1593d072
tree78625c19f7d442df9fa66eb3c57a64a202811b6a
parentbc1f2e05c7c87f6c5b43b4555c1e286a0b989960
ktest: add 2nd parameter of run_command() to set the redirect target file

If we'd like to set the redirect target file of run_command(),
we should define $redirect before calling this function and should undef it
after calling this function. Since it's user-unfriendly, add 2nd parameter of
run_command() for this purpose.

Link: http://lkml.kernel.org/r/87vbvwokq8.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