radare2/test/new/db/cmd/feat_yank
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

73 lines
570 B
Plaintext

NAME=yank-segfault
FILE=-
CMDS=y -2
EXPECT=<<EOF
EOF
RUN
NAME=yank-and-paste
FILE=-
CMDS=<<EOF
b 64
w hello world
y 5
yy@6
psz
EOF
EXPECT=<<EOF
hello hello
EOF
RUN
NAME=yank-segfault2
FILE=-
CMDS=<<EOF
y 0
y 10
y 10
y 20
y;
y 0
y 0
?e ok
EOF
EXPECT=<<EOF
0x00000000 20 0000000000000000000000000000000000000000
ok
EOF
RUN
NAME=yank-segfault3
FILE=-
CMDS=<<EOF
y #
?e ok
EOF
EXPECT=<<EOF
ok
EOF
RUN
NAME=yank-segfault4
FILE=-
CMDS=<<EOF
y 1000000000
?e ok
EOF
EXPECT=<<EOF
ok
EOF
RUN
NAME=yank-doublefree
FILE=-
CMDS=<<EOF
y -5
y -5
?e ok
EOF
EXPECT=<<EOF
ok
EOF
RUN