rizin/test/db/cmd/cmd_r
Aswin C d42cde8ca5
Disable asm.bytes by default ##cons (#155)
* Disable `asm.bytes` by default

* Fix tests by adding `e asm.bytes=true` (1/n)

* Fix tests by adding  (2/n)

* Fix tests by adding `e asm.bytes=true` (3/n)

* Fix tests by adding `asm.bytes=true` (4/n)

* Fix test by adding `asm.bytes=true` (5/n)

* Fix mostly all broken tests

* Attemp to fix the rzpipe test

* Attempt to fix the tests in `db/cmd/cmd_pipe`

* Fix tests again

* Fix cmd_pipe test

* Add a test where `asm.bytes` is false

Co-authored-by: Anton Kochkov <anton.kochkov@gmail.com>
2020-12-15 12:47:33 +01:00

31 lines
321 B
Text

NAME=r
FILE=malloc://512
CMDS=r
EXPECT=<<EOF
512
EOF
RUN
NAME=wx 90 r pd 1
FILE=malloc://512
CMDS=<<EOF
e asm.arch=x86
e asm.bytes=true
e asm.bits=64
wx 90
r
pd 1
EOF
EXPECT=<<EOF
512
0x00000000 90 nop
EOF
RUN
NAME=rj-pj
FILE=bins/elf/crackme0x05
CMDS=rj
EXPECT=<<EOF
{"size":7656}
EOF
RUN