From 5e22f599825af9fa2134c91932a16815fc1e09e7 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 31 Dec 2007 16:34:30 +0000 Subject: * bootstraptest/test_knownbug.rb: more portable way git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bootstraptest/test_knownbug.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index 2e81f3c384..441212c17c 100644 --- a/bootstraptest/test_knownbug.rb +++ b/bootstraptest/test_knownbug.rb @@ -4,7 +4,7 @@ # assert_normal_exit %q{ - STDERR.reopen("/dev/null") if File.exist? "/dev/null" and File.writable? "/dev/null" + STDERR.reopen(STDOUT) class Foo def self.add_method class_eval("def some-bad-name; puts 'hello' unless @some_variable.some_function(''); end") -- cgit v1.2.3