ktest: Fix child exit code processing
commit32677207dcupstream. The child_exit errno needs to be shifted by 8 bits to compare against the return values for the bisect variables. Fixes:c5dacb88f0("ktest: Allow overriding bisect test results") Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
1f2ca141ec
commit
ff61e0123b
@ -2629,7 +2629,7 @@ sub do_run_test {
|
||||
}
|
||||
|
||||
waitpid $child_pid, 0;
|
||||
$child_exit = $?;
|
||||
$child_exit = $? >> 8;
|
||||
|
||||
my $end_time = time;
|
||||
$test_time = $end_time - $start_time;
|
||||
|
||||
Reference in New Issue
Block a user