]> git.baikalelectronics.ru Git - kernel.git/commit
ktest: Fix result of rebooting the kernel
authorSteven Rostedt <srostedt@redhat.com>
Thu, 2 Jun 2011 03:25:13 +0000 (23:25 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 2 Jun 2011 15:57:56 +0000 (11:57 -0400)
commitff5b53d92d26a877bab93d5d7d9372ee7f8fe794
treea5d01b5c399702afd71969ca0b1e94be4aa1c254
parentbb3b15e7dda6bf43c997c108b7356c98af33181f
ktest: Fix result of rebooting the kernel

The command that is called that reboots the kernel may fail
but the return code is not passed back to the ktest.pl script.
This is because a ';' is used between the two commands and
if the second command fails, only the first command's return
code is returned. Using a '&&' between the two commands fixes
this.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl