test/functional/test.rb in ruote-2.1.9 vs test/functional/test.rb in ruote-2.1.10
- old
+ new
@@ -13,10 +13,13 @@
puts
puts "=== #{t} :"
puts `ruby#{_v} #{t} #{ARGV.join(' ')}`
- exit $?.exitstatus if $?.exitstatus != 0
+ es = $?.exitstatus
+ es = es.nil? ? 66 : es.to_s.to_i
+
+ exit(es) if es != 0
else
load(t)
end
end