From: Hleb Valoshka <375gnu@gmail.com> Date: Tue, 3 Jul 2012 20:13:49 +0000 (+0300) Subject: Add libc names for Debian GNU/kFreeBSD and FreeBSD in tests. X-Git-Tag: v2.0.0~7 X-Git-Url: https://repo.or.cz/w/ruby_posix_mq.git/commitdiff_plain/cf0665e57bf4857d4eb4c733527e77545190af59 Add libc names for Debian GNU/kFreeBSD and FreeBSD in tests. Signed-off-by: Eric Wong --- diff --git a/test/test_posix_mq.rb b/test/test_posix_mq.rb index 5c7cc11..5b78c22 100644 --- a/test/test_posix_mq.rb +++ b/test/test_posix_mq.rb @@ -104,7 +104,7 @@ class Test_POSIX_MQ < Test::Unit::TestCase def test_alarm_signal_safe libc = alarm = nil - libcs = %w(libc.so.6 /usr/lib/libc.sl) + libcs = %w(libc.so.6 libc.so.0.1 libc.so.7 /usr/lib/libc.sl) libcs.each do |name| libc = DL::Handle.new(name) rescue next if defined?(DL::Function)