Skip to content

Commit

Permalink
Test rizinorg/rz-pipe#58 that discards startup banners (#4706)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazarmy authored Nov 9, 2024
1 parent e78a7be commit 48b21fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/scripts/dk_9.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

rzp = rzpipe.open("bins/elf/analysis/calls_x64", flags=["-a", "x86", "-d", "-1"])
expected = "child received signal 9"
actual = rzp.cmd("")
actual += rzp.cmd("wx ebfe; dk 9; dc") # ebfe is infinite loop
sys.stdout.write(rzp.cmd("")) # should print nothing
actual = rzp.cmd("wx ebfe; dk 9; dc") # ebfe is infinite loop
actual += rzp.cmd("")
if expected in actual or "Process exited with status=0x9" in actual:
sys.stderr.write(expected + "\n")
Expand Down

0 comments on commit 48b21fb

Please sign in to comment.