diff options
Diffstat (limited to 'test/ruby/endblockwarn.rb')
-rw-r--r-- | test/ruby/endblockwarn.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/test/ruby/endblockwarn.rb b/test/ruby/endblockwarn.rb index 8da5c241ee..7b7f97f597 100644 --- a/test/ruby/endblockwarn.rb +++ b/test/ruby/endblockwarn.rb @@ -1,17 +1,3 @@ -BEGIN { - if errout = ARGV.shift - dir = File.dirname(File.expand_path(__FILE__)) - basename = File.basename(__FILE__) - require "#{dir}/envutil" - STDERR.reopen(File.open(errout, "w")) - STDERR.sync = true - Dir.chdir(dir) - cmd = "\"#{EnvUtil.rubybin}\" \"#{basename}\"" - exec(cmd) - exit!("must not reach here") - end -} - def end1 END {} end |