Skip to content

Commit

Permalink
Using x86.as assembler fails on non-x86 systems. (#4941)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 authored Feb 27, 2025
1 parent a40c171 commit 14d50bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/db/cmd/cmd_search_a
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN
NAME=/a search - errors - faulty asm-text
FILE=malloc://1024
CMDS=<<EOF
e asm.arch=x86.as
e asm.arch=x86
e asm.bits=32
wa "add esp,8;pop ebx; pop ebp; ret"
/a ad esp, 8
Expand All @@ -31,7 +31,7 @@ RUN
NAME=/a search - empty
FILE=
CMDS=<<EOF
e asm.arch=x86.as
e asm.arch=x86
e asm.assembler=x86
e asm.bits=32
/a add esp, 8
Expand All @@ -45,7 +45,7 @@ RUN
NAME=/a search - x86
FILE=malloc://1024
CMDS=<<EOF
e asm.arch=x86.as
e asm.arch=x86
e asm.bits=32
wa "add esp,8;pop ebx; pop ebp; ret"
/a add esp, 8
Expand Down Expand Up @@ -86,7 +86,7 @@ RUN
NAME=/a search - x86 - in file
FILE=bins/elf/hello_world
CMDS=<<EOF
e asm.arch=x86.as
e asm.arch=x86
/a mov r15d, edi
/a hlt
EOF
Expand Down

0 comments on commit 14d50bb

Please sign in to comment.