rizin/test/db/cmd/cmd_interpret
Riccardo Schirone 86d20b2d16
RzShell: Remove possibility to switch to oldshell (#2420)
Due to some commands/tests still using the legacy "..." commands, we
can't fully remove oldshell code yet, but with this patch we just hide
it from the end users. Rzshell is now the default and only shell and
rzshell autocompletion is the default and only autocompletion engine.
2022-03-17 14:49:34 +01:00

45 lines
408 B
Text

NAME=.- (edit, source tmp file)
FILE==
CMDS=<<EOF
e cfg.editor=/bin/true
.-
EOF
EXPECT=<<EOF
EOF
RUN
NAME=.?e ?e
FILE=--
CMDS=<<EOF
.?e ?e hello world
EOF
EXPECT=<<EOF
hello world
EOF
RUN
NAME=$foo=#!pipe
FILE==
CMDS=<<EOF
#!pipe echo hello
$foo=#!pipe echo hello
$foo
?e --
"$foo=#!pipe echo hello"
$foo
?e --
$-*
$foo=\#!pipe echo hello
$foo
?e --
$-*
EOF
EXPECT=<<EOF
hello
--
hello
--
hello
--
EOF
RUN