From 3e55c025c36c779c7aa75c7cd51949b1febfb48c Mon Sep 17 00:00:00 2001 From: Gordon Messmer Date: Wed, 22 May 2024 18:32:07 -0700 Subject: [PATCH] Test relocatable symbols in each section of got --all output. --- tests/commands/got.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/commands/got.py b/tests/commands/got.py index c5f629b19..df1e7caf5 100644 --- a/tests/commands/got.py +++ b/tests/commands/got.py @@ -42,12 +42,12 @@ def checksyms(lines): return if "format-string-helper.out" in lines[0]: res = ''.join(lines) - self.assertIn("printf", res) - self.assertNotIn("strcpy", res) + self.assertIn(" printf", res) + self.assertNotIn(" strcpy", res) if "/libc" in lines[0]: res = ''.join(lines) - self.assertNotIn("printf", res) - self.assertNotIn("strcpy", res) + self.assertNotIn(" printf", res) + self.assertNotIn(" strcpy", res) res = gdb.execute("got --all printf", to_string=True) self.assertIn("/libc", res)