summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-15 01:46:03 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-15 01:46:03 +0000
commit622db848ce3b868da07708dd07bd09b3496667d5 (patch)
tree9f67ec29636cc2eaf650f482dcdd621727783f71
parentd1bbd80d930257dd5eca076c2961d49f4735ad97 (diff)
same as r44598
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--test/dl/test_handle.rb2
-rw-r--r--test/fiddle/test_handle.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/dl/test_handle.rb b/test/dl/test_handle.rb
index 4ef93adf41..83b8af1960 100644
--- a/test/dl/test_handle.rb
+++ b/test/dl/test_handle.rb
@@ -181,7 +181,7 @@ module DL
# In general uses of dlerror(3) should call it before use it.
require 'socket'
Socket.gethostbyname("localhost")
- DL.dlopen("/usr/lib/libc.so").sym('strcpy')
+ DL.dlopen("/lib/libc.so.7").sym('strcpy')
end if /freebsd/=~ RUBY_PLATFORM
end
end
diff --git a/test/fiddle/test_handle.rb b/test/fiddle/test_handle.rb
index 2af3e5c903..c598cc33a2 100644
--- a/test/fiddle/test_handle.rb
+++ b/test/fiddle/test_handle.rb
@@ -183,7 +183,7 @@ module Fiddle
# In general uses of dlerror(3) should call it before use it.
require 'socket'
Socket.gethostbyname("localhost")
- Fiddle.dlopen("/usr/lib/libc.so").sym('strcpy')
+ Fiddle.dlopen("/lib/libc.so.7").sym('strcpy')
end if /freebsd/=~ RUBY_PLATFORM
end
end if defined?(Fiddle)