mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-01 00:51:19 +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>
56 lines
547 B
Plaintext
56 lines
547 B
Plaintext
NAME=env FOO
|
|
FILE=-
|
|
CMDS=<<EOF
|
|
env FOO=BAR
|
|
env FOO
|
|
EOF
|
|
EXPECT=<<EOF
|
|
BAR
|
|
EOF
|
|
RUN
|
|
|
|
NAME=int/str values
|
|
FILE=-
|
|
CMDS=<<EOF
|
|
e log.level=1
|
|
e log.level
|
|
e log.level=0
|
|
e log.level
|
|
e log.level=4
|
|
e log.level
|
|
e asm.cmt.off=nodup
|
|
e asm.cmt.off
|
|
e asm.cmt.off=false
|
|
e asm.cmt.off
|
|
e asm.cmt.off=true
|
|
e asm.cmt.off
|
|
e asm.cmt.off=0
|
|
e asm.cmt.off
|
|
e asm.cmt.off=1
|
|
e asm.cmt.off
|
|
e asm.cmt.off=
|
|
e asm.cmt.off
|
|
EOF
|
|
EXPECT=<<EOF
|
|
1
|
|
0
|
|
4
|
|
nodup
|
|
false
|
|
true
|
|
false
|
|
true
|
|
false
|
|
EOF
|
|
RUN
|
|
|
|
NAME=env with spaces
|
|
FILE=-
|
|
CMDS=<<EOF
|
|
env AAA = BBB
|
|
env AAA
|
|
EOF
|
|
EXPECT=<<EOF
|
|
BBB
|
|
EOF
|
|
RUN |