From 85eb6c8bf9c59280f82f2168048071de104cd9dc Mon Sep 17 00:00:00 2001 From: disconnect3d Date: Fri, 29 Sep 2023 00:46:48 +0200 Subject: [PATCH] fix arch ci tests --- tests/gdb-tests/tests/test_commands_elf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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])