rizin/test/db/archos/linux-x64/cmd_interpreter
seanachao a2f8631b6c
Change -, --, = argument and = command meaning (#930)
* Swap = & - R (#615)&(#616)
* Fix R replace =
2021-04-21 16:20:24 +08:00

23 lines
388 B
Text

NAME=#!c
FILE==
CMDS=<<EOF
"?e #include <stdio.h>\nint entry(){printf(\"Hello\\n\");return 0;}" > .tmp-hashc.c
#!c .tmp-hashc.c
rm .tmp-hashc.c
EOF
EXPECT=<<EOF
Hello
EOF
RUN
NAME=#! with ext != name
FILE==
CMDS=<<EOF
"?e #include <stdio.h>\nint main(){printf(\"Hello\\n\");return 0;}" > .tmp-hashextname.c
#!cpipe .tmp-hashextname.c
rm .tmp-hashextname.c
EOF
EXPECT=<<EOF
Hello
EOF
RUN