summaryrefslogtreecommitdiff
path: root/test/ruby/test_dir.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-21 07:55:09 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-21 07:55:09 +0000
commite1ff9d68abc8bfa2fe6d02f53e9bd09d022a3a97 (patch)
treeafb6e49963543cd71219870efb8cd84de658809b /test/ruby/test_dir.rb
parent5d20d347c772a64a1dab362dbfae765a8d687f43 (diff)
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
Diffstat (limited to 'test/ruby/test_dir.rb')
-rw-r--r--test/ruby/test_dir.rb2
1 files changed, 1 insertions, 1 deletions
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