diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-08 13:38:21 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-08 13:38:21 +0000 |
commit | eb6153b37d480222b034dd24dfe7212e46644078 (patch) | |
tree | 0ca91359f6861d48db1a5ac9da5bcfb007bbdd4e /yarvtest/yarvtest.rb | |
parent | 9e249508162c80974a815504cf96c78e240e3a42 (diff) | |
download | ruby-eb6153b37d480222b034dd24dfe7212e46644078.tar.gz |
* yarvtest/yarvtest.rb: check target command names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'yarvtest/yarvtest.rb')
-rw-r--r-- | yarvtest/yarvtest.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/yarvtest/yarvtest.rb b/yarvtest/yarvtest.rb index 04cfd257e4..56c173bbe0 100644 --- a/yarvtest/yarvtest.rb +++ b/yarvtest/yarvtest.rb @@ -17,8 +17,10 @@ ARGV.each{|opt| end } -puts "matzruby: #{`#{$matzruby} -v`}" -puts "ruby : #{`#{$ruby} -v`}" +a = "matzruby: #{`#{$matzruby} -v`}" +b = "ruby : #{`#{$ruby} -v`}" +puts a, b +raise "Using same command" if a == b class YarvTestBase < Test::Unit::TestCase def initialize *args |