From c2e00bebdba244bdfef54399d6169118ecdde829 Mon Sep 17 00:00:00 2001 From: ValekoZ Date: Sun, 2 Jun 2024 19:01:28 +0200 Subject: [PATCH] Fix tests --- tests/commands/arch.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/commands/arch.py b/tests/commands/arch.py index 4b4322893..65efc02f8 100644 --- a/tests/commands/arch.py +++ b/tests/commands/arch.py @@ -23,15 +23,15 @@ def test_cmd_arch_get(self): gdb = self._gdb res = gdb.execute("arch get", to_string=True) - self.assertIn(" Architecture(Generic, None, LITTLE_ENDIAN)", res) - self.assertIn(" This default architecture", res) + self.assertIn(" Architecture(X86, 64, LITTLE_ENDIAN)", res) + self.assertIn(" The architecture has been detected via the ELF headers", res) def test_cmd_arch_set(self): gdb = self._gdb res = gdb.execute("arch get", to_string=True) - self.assertIn(" Architecture(Generic, None, LITTLE_ENDIAN)", res) - self.assertIn(" This default architecture", res) + self.assertIn(" Architecture(X86, 64, LITTLE_ENDIAN)", res) + self.assertIn(" The architecture has been detected via the ELF headers", res) gdb.execute("arch set X86")