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 02:02:45 +0000 (10:02 +0800)
commitff61e0123b7d8fe13ae8b6f96e5c3abfc11357fc
tree14048339b0098641b26d7e38ea7a4a90db04faf3
parent1f2ca141ec53a9c43ea0852f013907d19c435986
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