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.
39 lines
425 B
Text
39 lines
425 B
Text
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
|
|
|
|
NAME=&j
|
|
FILE==
|
|
CMDS=<<EOF
|
|
& ?e Hello\nfrom\na task!
|
|
&& 1
|
|
&j
|
|
EOF
|
|
EXPECT=<<EOF
|
|
[{"id":0,"state":"running","transient":false},{"id":1,"state":"done","transient":false,"cmd":"?e Hello\\nfrom\\na task!"}]
|
|
EOF
|
|
RUN
|