diff --git a/tests/commands/vmmap.py b/tests/commands/vmmap.py index f37028864..6102a8117 100644 --- a/tests/commands/vmmap.py +++ b/tests/commands/vmmap.py @@ -58,13 +58,13 @@ def test_cmd_vmmap_perm(self): gdb.execute("start") res = gdb.execute("vmmap -p r?-", to_string=True) - self.assertEqual(len(res.splitlines()), 5) + self.assertGreater(len(res.splitlines()), 5) res = gdb.execute("vmmap --perms r?-", to_string=True) - self.assertEqual(len(res.splitlines()), 5) + self.assertGreater(len(res.splitlines()), 5) res = gdb.execute("vmmap -p rw-", to_string=True) - self.assertEqual(len(res.splitlines()), 5) + self.assertGreater(len(res.splitlines()), 5) res = gdb.execute("vmmap --perms rw-", to_string=True) - self.assertEqual(len(res.splitlines()), 5) + self.assertGreater(len(res.splitlines()), 5)