Skip to content

Commit

Permalink
pr feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
hugsy committed Feb 2, 2024
1 parent f99f8a1 commit 72541f0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/commands/entry_break.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ def test_cmd_entry_break(self):
# a PIC binary) start with
#
assert len(lines) >= 2
assert lines[0].startswith("[+] Breaking at entry-point") or \
lines[1].startswith("[+] Breaking at entry-point")
assert any(line.startswith("[+] Breaking at entry-point") for line in lines)

# re-run while session running (nok)
res = (gdb.execute("entry-break", to_string=True).strip() or "").strip()
res = (gdb.execute("entry-break", to_string=True) or "").strip()
assert "gdb is already running" in res

0 comments on commit 72541f0

Please sign in to comment.