diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl index dcb1e9ac949c..d9d10f3c8ca3 100755 --- a/tools/testing/ktest/ktest.pl +++ b/tools/testing/ktest/ktest.pl @@ -2450,7 +2450,7 @@ sub do_run_test { } waitpid $child_pid, 0; - $child_exit = $?; + $child_exit = $? >> 8; if (!$bug && $in_bisect) { if (defined($bisect_ret_good)) {