Skip to content

Commit

Permalink
spec/stats_spec.rb: detect script failure
Browse files Browse the repository at this point in the history
Signed-off-by: Philip Li <[email protected]>
  • Loading branch information
rli9 committed May 7, 2021
1 parent edb5632 commit e6cabc8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/stats_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
else
`#{LKP_SRC}/stats/#{script} < #{file}`
end
raise "stats script exists #{$CHILD_STATUS.exitstatus}" unless $CHILD_STATUS.exitstatus.zero?

expect(new_stat).to eq old_stat
end
end
Expand Down

0 comments on commit e6cabc8

Please sign in to comment.