rizin/test/db/cmd/cmd_flags_stress
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

42 lines
414 B
Text

NAME=no flags
FILE=-
CMDS=<<EOF
f patata
f-*
f~?
EOF
EXPECT=<<EOF
0
EOF
RUN
NAME=no flags
FILE=bins/elf/analysis/elf-relro
CMDS=<<EOF
f patata
fs *
f-*
f~?
EOF
EXPECT=<<EOF
0
EOF
RUN
NAME=fr foo bar
FILE=-
CMDS=<<EOF
e asm.arch=x86
e asm.bits=64
e asm.bytes=true
f foo
fr foo bar
f
pd 1
EOF
EXPECT=<<EOF
0x00000000 1 bar
;-- bar:
0x00000000 0000 add byte [rax], al
EOF
RUN