diff --git a/tests/gdb-tests/tests/test_commands_elf.py b/tests/gdb-tests/tests/test_commands_elf.py index 631a68d56..f48f88fe1 100644 --- a/tests/gdb-tests/tests/test_commands_elf.py +++ b/tests/gdb-tests/tests/test_commands_elf.py @@ -137,7 +137,8 @@ def test_command_got_for_target_binary_and_loaded_library(): out[4], ) got_entries_count = int(m.group(1)) - assert got_entries_count > 0 + # The count may be 0 on Arch Linux: it has bind now in glibc + assert got_entries_count >= 0 assert len(out) == (5 + got_entries_count) for i in range(got_entries_count): assert re.match(r"\[0x[0-9a-f]+\] .* -> .*", out[5 + i])