Fix Mutant::Killer::Forked#run to return true only on a successful exit
This commit is contained in:
parent
3f83290538
commit
6a96062153
2 changed files with 2 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
|||
---
|
||||
threshold: 16
|
||||
total_score: 609
|
||||
total_score: 614
|
||||
|
|
|
@ -36,7 +36,7 @@ module Mutant
|
|||
end
|
||||
|
||||
status = Process.wait2(pid).last
|
||||
status.exitstatus.zero?
|
||||
status.exited? && status.success?
|
||||
end
|
||||
|
||||
end # Forked
|
||||
|
|
Loading…
Reference in a new issue