[DRE-commits] [unicorn] 01/04: proper usage of $?
Hleb Valoshka
tsfgnu-guest at alioth.debian.org
Sun Sep 15 07:33:18 UTC 2013
This is an automated email from the git hooks/post-receive script.
tsfgnu-guest pushed a commit to branch master
in repository unicorn.
commit 5f4268b34d99a65d563d8e63783d26b31d06f857
Author: Hleb Valoshka <375GNU at Gmail.COM>
Date: Tue Aug 20 21:24:14 2013 +0300
proper usage of $?
---
debian/ruby-tests.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 6ff4d82..efd446d 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -3,5 +3,5 @@ require 'rbconfig' unless defined?(RbConfig)
ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
Dir['test/unit/test_*.rb'].each do |test|
- exit($?) unless system("#{ruby} -I. -e \"require '#{test}'\"")
+ exit($?.exitstatus) unless system("#{ruby} -I. -e \"require '#{test}'\"")
end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/unicorn.git
More information about the Pkg-ruby-extras-commits
mailing list