Fix Mutant::Killer::Forked#run to return true only on a successful exit

This commit is contained in:
Dan Kubb 2013-06-23 17:27:45 -07:00
parent 3f83290538
commit 6a96062153
2 changed files with 2 additions and 2 deletions

View file

@ -1,3 +1,3 @@
---
threshold: 16
total_score: 609
total_score: 614

View file

@ -36,7 +36,7 @@ module Mutant
end
status = Process.wait2(pid).last
status.exitstatus.zero?
status.exited? && status.success?
end
end # Forked