Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix script/test exit status

  • Loading branch information...
commit 62958fa955df03a2055ac450a52212661940d95e 1 parent 3bfadea
@mislav mislav authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.