radare2/test/breakpoint.sh
pancake 4476148913 * Workaround for r_debug_recoil()
* Simplify build of r_diff (nibble)
* Add debugger breakpoint test script
2010-06-15 00:59:32 +02:00

16 lines
178 B
Bash

echo "
db entry0
dc
db -entry0
dc
q
">.a
cat .a | r2 -d 'printf "works\n"' >.o 2>/dev/null
if [ -n "`grep works .o`" ]; then
echo "$0: ok"
else
echo "$0: fail"
fi
rm -f .a .o