Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ValekoZ committed Nov 10, 2024
1 parent 3ed4e36 commit ba83306
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/commands/vmmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit ba83306

Please sign in to comment.