ktest: Fix child exit code processing
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 7 Feb 2017 17:05:25 +0000 (12:05 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 7 Feb 2017 17:05:25 +0000 (12:05 -0500)
commit32677207dcc5e594254b7fb4fb2352b1755b1d5b
tree68f19c9d56e184248ad50d1b05a728f7ac88754d
parent2e07c9f55ecabdf78746b9808fec6ab549a07f8a
ktest: Fix child exit code processing

The child_exit errno needs to be shifted by 8 bits to compare against the
return values for the bisect variables.

Fixes: c5dacb88f0a64 ("ktest: Allow overriding bisect test results")
Cc: stable@vger.kernel.org
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl