mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-24 13:49:50 +00:00
60 lines
478 B
Plaintext
60 lines
478 B
Plaintext
NAME=test $alias
|
|
FILE=-
|
|
EXPECT=<<EOF
|
|
hello
|
|
EOF
|
|
CMDS=<<EOF
|
|
$foo=?e hello
|
|
$foo
|
|
EOF
|
|
RUN
|
|
|
|
NAME=test $alias quotes
|
|
FILE=-
|
|
EXPECT=<<EOF
|
|
hello
|
|
world
|
|
EOF
|
|
CMDS=<<EOF
|
|
"$foo=?e hello;?e world"
|
|
$foo
|
|
EOF
|
|
RUN
|
|
|
|
NAME=test $alias args
|
|
FILE=-
|
|
EXPECT=<<EOF
|
|
hello world
|
|
EOF
|
|
CMDS=<<EOF
|
|
$foo=!echo hello
|
|
$foo world
|
|
EOF
|
|
RUN
|
|
|
|
NAME=list $alias
|
|
FILE=-
|
|
EXPECT=<<EOF
|
|
$foo
|
|
$bar
|
|
EOF
|
|
CMDS=<<EOF
|
|
$foo=a
|
|
$bar=b
|
|
$
|
|
EOF
|
|
RUN
|
|
|
|
NAME=delete $alias
|
|
FILE=-
|
|
EXPECT=<<EOF
|
|
$foo
|
|
EOF
|
|
CMDS=<<EOF
|
|
$foo=a
|
|
$bar=b
|
|
$bar=
|
|
$
|
|
EOF
|
|
RUN
|