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")