Skip to content

Commit

Permalink
Fix test_dlopen_linker_script_input_linux being omitted on Fedora 40 …
Browse files Browse the repository at this point in the history
…aarch64 (#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.
  • Loading branch information
danini-the-panini authored Dec 4, 2024
1 parent e1f90f9 commit 444774c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fiddle/test_fiddle.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def test_windows_constant

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?
Expand Down

0 comments on commit 444774c

Please sign in to comment.