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

28 lines
216 B
Plaintext

NAME=&
FILE=-
CMDS=<<EOF
& ?e Hello\nfrom\na task!
&& 1
&= 1
EOF
EXPECT=<<EOF
Hello
from
a task!
EOF
RUN
NAME=& + grep
FILE=-
CMDS=<<EOF
"& ?e Hello\nfrom\na task!~task"
&& 1
&= 1
EOF
EXPECT=<<EOF
a task!
EOF
RUN