rizin/test/scripts/test-webserver.sh
Riccardo Schirone 338e6fe172 Other renames in man and small places
Remove rz link, just keep rizin

Remove r2 link from acr

Fix http test on macos
2020-10-01 17:53:29 +02:00

8 lines
304 B
Bash
Executable file

#!/bin/sh
rizin -N -e http.port=9393 -qq -c=h bins/elf/arg > /dev/null 2>&1 &
CHILD=$!
curl -s --retry 30 --retry-delay 1 --retry-connrefused http://127.0.0.1:9393/ > /dev/null 2>&1
rizin -N -qc '=0 pd 10' -C http://127.0.0.1:9393/cmd
rizin -N -c 'b $s;pr~:0..9' -qcq http://127.0.0.1:9393/
kill $CHILD