ktest: Fix child exit code processing
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 7 Feb 2017 17:05:25 +0000 (12:05 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Mar 2017 01:57:13 +0000 (09:57 +0800)
commit485171b1ee8c7cc74cff9881b92b178b1c709663
tree4b97824197a59d89d9045418426585f8eb6d0716
parent696255449b89af5487bce53b1a65eddedc72aeff
ktest: Fix child exit code processing

commit 32677207dcc5e594254b7fb4fb2352b1755b1d5b upstream.

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")
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/ktest/ktest.pl