From 1e26cc92a1591cddb1e8df08dcb9c8cb75a3e340 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 21 Oct 2016 07:55:09 +0000 Subject: fix r56467 * test/ruby/test_dir.rb (test_glob_gc_for_fd): needs RLIMIT_NOFILE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_dir.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby') diff --git a/test/ruby/test_dir.rb b/test/ruby/test_dir.rb index ed0d084528..bb778e754d 100644 --- a/test/ruby/test_dir.rb +++ b/test/ruby/test_dir.rb @@ -367,5 +367,5 @@ class TestDir < Test::Unit::TestCase assert_not_empty(list) assert_equal([*"a".."z"], list) end; - end + end if defined?(Process::RLIMIT_NOFILE) end -- cgit v1.2.3