Skip to content

Commit

Permalink
Update utils.py
Browse files Browse the repository at this point in the history
fixed bad copy paste for tests/utils for the qemu session manager
  • Loading branch information
hugsy committed Oct 10, 2022
1 parent 1f49f8a commit 3f3151c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/utils.py
Expand Up @@ -281,11 +281,11 @@ def stop_qemuuser(process: subprocess.Popen) -> None:
def qemuuser_session(*args, **kwargs):
exe = kwargs.get("exe", "") or _target("default")
port = kwargs.get("port", 0) or GDBSERVER_DEFAULT_PORT
sess = start_gdbserver(exe, port)
sess = start_qemuuser(exe, port)
try:
yield sess
finally:
stop_gdbserver(sess)
stop_qemuuser(sess)



Expand Down

0 comments on commit 3f3151c

Please sign in to comment.