ktest: Fix child exit code processing
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 7 Feb 2017 17:05:25 +0000 (12:05 -0500)
committerDanny Wood <danwood76@gmail.com>
Tue, 29 Jan 2019 13:16:16 +0000 (13:16 +0000)
commitc88dbbbf459fe2314dd18e3b254658ae11997a3d
tree103ae1d44d8905a86e7c74d5e8695d212a93ab89
parent587c9db9aaac22739bf726bfb0d8756983a32ef0
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: Willy Tarreau <w@1wt.eu>
tools/testing/ktest/ktest.pl