mirror of
https://github.com/torvalds/linux.git
synced 2024-11-12 07:01:57 +00:00
ktest: Fix child exit code processing
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")
Cc: stable@vger.kernel.org
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
This commit is contained in:
parent
2e07c9f55e
commit
32677207dc
@ -2633,7 +2633,7 @@ sub do_run_test {
|
||||
}
|
||||
|
||||
waitpid $child_pid, 0;
|
||||
$child_exit = $?;
|
||||
$child_exit = $? >> 8;
|
||||
|
||||
my $end_time = time;
|
||||
$test_time = $end_time - $start_time;
|
||||
|
Loading…
Reference in New Issue
Block a user