Fix three tests failing on non-x86-64 hosts

This commit is contained in:
pancake 2022-04-13 01:38:45 +02:00
parent 8ff7008d40
commit cb097fe79b
2 changed files with 4 additions and 1 deletions

View File

@ -1088,7 +1088,7 @@ static int cmd_help(void *data, const char *input) {
r_core_clippy (core, r_str_trim_head_ro (input + 1));
break;
case 'e': // "?e" echo
#if !SHELLFILTER
#if SHELLFILTER
r_str_trim_args ((char *)input);
#endif
switch (input[1]) {

View File

@ -111,6 +111,7 @@ RUN
NAME=grep neg begin
FILE=malloc://1024
ARGS=-a x86 -b 64
CMDS=i~!^size
EXPECT=<<EOF
fd 3
@ -128,6 +129,7 @@ RUN
NAME=grep neg begin
FILE=malloc://1024
ARGS=-a x86 -b 64
CMDS=i~!^size
EXPECT=<<EOF
fd 3
@ -145,6 +147,7 @@ RUN
NAME=grep neg
FILE=malloc://1024
ARGS=-a x86 -b 64
CMDS=i~!fd
EXPECT=<<EOF
file malloc://1024