radare2/test/new/db/cmd/cmd_tmpbuf
Khairul Azhar Kasmiran 781fcccf55
Move CMDS= before EXPECT= in tests (#16417)
* Move CMDS= before EXPECT= in tests

* Revert "Move CMDS= before EXPECT= in tests"

This reverts commit 13a9085a36.

* Move CMDS= before EXPECT= in tests, take 2

* Revert "Move CMDS= before EXPECT= in tests, take 2"

This reverts commit 7c0bf6d8e3.

* Move CMDS= before EXPECT= in tests, take 3

Co-authored-by: pancake <pancake@nopcode.org>
2020-04-05 20:56:06 +08:00

51 lines
520 B
Plaintext

NAME=p8 2 @x:9090
FILE=malloc://1024
CMDS=<<EOF
e asm.arch=x86
e asm.bits=64
p8 2 @x:9090
EOF
EXPECT=<<EOF
9090
EOF
RUN
NAME=p8 8 @x:9090
FILE=malloc://1024
CMDS=<<EOF
e asm.arch=x86
e asm.bits=64
p8 8 @x:9090
EOF
EXPECT=<<EOF
9090000000000000
EOF
RUN
NAME=pi 2 @x:9090
FILE=malloc://1024
CMDS=<<EOF
e asm.arch=x86
e asm.bits=64
pi 2 @x:9090
EOF
EXPECT=<<EOF
nop
nop
EOF
RUN
NAME=pi 3 @x:9090
FILE=malloc://1024
CMDS=<<EOF
e asm.arch=x86
e asm.bits=64
pi 3 @x:9090
EOF
EXPECT=<<EOF
nop
nop
add byte [rax], al
EOF
RUN