Skip to content
Browse files

fix script/test exit status

  • Loading branch information...
1 parent 3bfadea commit 62958fa955df03a2055ac450a52212661940d95e @mislav mislav committed Aug 16, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 script/test
View
4 script/test
@@ -97,7 +97,9 @@ Timeout.timeout 40 do
end
ENV['LIVE'] = "http://#{host}:#{port}"
-system 'ruby', '-Ilib:test', '-S', 'testrb', *test_files
+ok = system 'ruby', '-Ilib:test', '-S', 'testrb', *test_files
server.respond_to?(:stop!) ? server.stop! : server.stop
thread.join
+
+exit 1 unless ok

0 comments on commit 62958fa

Please sign in to comment.
Something went wrong with that request. Please try again.