Skip to content

Commit 444774c

Browse files
Fix test_dlopen_linker_script_input_linux being omitted on Fedora 40 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.
1 parent e1f90f9 commit 444774c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/fiddle/test_fiddle.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def test_windows_constant
2727

2828
def test_dlopen_linker_script_input_linux
2929
omit("This is only for Linux") unless RUBY_PLATFORM.match?("linux")
30-
if Dir.glob("/usr/lib/*/libncurses.so").empty?
30+
if Dir.glob("/usr/lib{64}/**/libncurses.so").empty?
3131
omit("libncurses.so is needed")
3232
end
3333
if ffi_backend?

0 commit comments

Comments
 (0)