mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-24 05:40:10 +00:00
781fcccf55
* Move CMDS= before EXPECT= in tests * Revert "Move CMDS= before EXPECT= in tests" This reverts commit13a9085a36
. * Move CMDS= before EXPECT= in tests, take 2 * Revert "Move CMDS= before EXPECT= in tests, take 2" This reverts commit7c0bf6d8e3
. * Move CMDS= before EXPECT= in tests, take 3 Co-authored-by: pancake <pancake@nopcode.org>
73 lines
570 B
Plaintext
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
|