rizin/test/db/cmd/regexp
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

47 lines
555 B
Text

NAME=/e /test/i
FILE=malloc://1024
CMDS=<<EOF
w test
w Test@ 444
?e
e search.in=block
b 777
/e /test/i
EOF
EXPECT=<<EOF
0x00000000 hit0_0 "test"
0x000001bc hit0_1 "Test"
EOF
RUN
NAME=/e m (invalid) #742
FILE=malloc://1024
CMDS=<<EOF
w test
w Test@444
/e m
/e m
/e m
/e m
EOF
EXPECT=<<EOF
EOF
RUN
NAME="/e /t\wst\d\d\d\s\w\w/i" - rzshell
FILE=malloc://1024
CMDS=<<EOF
w '"test123 ab"'
w '"Test123 ab"' @ 444
?e
e search.in=block
b 777
"/e /t\wst\d\d\d\s\w\w/i"
EOF
EXPECT=<<EOF
0x00000001 hit0_0 ""test123 ab""
0x000001bd hit0_1 ""Test123 ab""
EOF
RUN