summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/testrb4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/testrb b/bin/testrb
index e4eb909..6a65fba 100755
--- a/bin/testrb
+++ b/bin/testrb
@@ -1,9 +1,9 @@
#!/usr/bin/env ruby
require 'test/unit'
-Test::Unit.setup_argv {|files|
+exit Test::Unit.start {|files|
if files.empty?
puts "Usage: testrb [options] tests..."
- exit 1
+ exit false
end
if files.size == 1
$0 = File.basename(files[0])