[ruby/fiddle] Fix test_dlopen_linker_script_input_linux being
omitted on Fedora 40 aarch64 (https://github.com/ruby/fiddle/pull/161) I found working on Fedora 40 on aarch64 that `test_dlopen_linker_script_input_linux` was omitted due to not finding libncurses.so, since it is in /usr/lib64. This PR makes the glob a little more portable. https://github.com/ruby/fiddle/commit/444774c0c4
This commit is contained in:
parent
462e2cfccf
commit
b5ed7aae3b
@ -27,7 +27,7 @@ class TestFiddle < Fiddle::TestCase
|
||||
|
||||
def test_dlopen_linker_script_input_linux
|
||||
omit("This is only for Linux") unless RUBY_PLATFORM.match?("linux")
|
||||
if Dir.glob("/usr/lib/*/libncurses.so").empty?
|
||||
if Dir.glob("/usr/lib{64}/**/libncurses.so").empty?
|
||||
omit("libncurses.so is needed")
|
||||
end
|
||||
if ffi_backend?
|
||||
|
Loading…
x
Reference in New Issue
Block a user