summaryrefslogtreecommitdiff
path: root/bootstraptest/test_knownbug.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-31 16:34:30 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-31 16:34:30 +0000
commit5e22f599825af9fa2134c91932a16815fc1e09e7 (patch)
treeae71815ecb5aed38dd2bf3f8f1a392e1373f3f32 /bootstraptest/test_knownbug.rb
parente460d4f75782a4785c3f47d778a1c9b8ccd25659 (diff)
* bootstraptest/test_knownbug.rb: more portable way
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest/test_knownbug.rb')
-rw-r--r--bootstraptest/test_knownbug.rb2
1 files changed, 1 insertions, 1 deletions
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")