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)