Skip to content

Commit

Permalink
Convert zero-output EXPECT=<<EOF to single-line EXPECT= (#4746)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazarmy authored Nov 28, 2024
1 parent 4f7f6b7 commit f0dad8a
Show file tree
Hide file tree
Showing 317 changed files with 475 additions and 950 deletions.
6 changes: 2 additions & 4 deletions test/db/abi/compilers/pelles_c
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ ARGS=-A
CMDS=<<EOF
pdf~main
EOF
EXPECT=<<EOF
EOF
EXPECT=
RUN

NAME=ELF_ABI : Pelles C 64 load
Expand Down Expand Up @@ -82,7 +81,6 @@ ARGS=-A
CMDS=<<EOF
pdf~main
EOF
EXPECT=<<EOF
EOF
EXPECT=
RUN

3 changes: 1 addition & 2 deletions test/db/abi/languages/freepascal
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ CMDS=<<EOF
s main
pdf
EOF
EXPECT=<<EOF
EOF
EXPECT=
EXPECT_ERR=
RUN

Expand Down
3 changes: 1 addition & 2 deletions test/db/analysis/8051
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ CMDS=<<EOF
e asm.arch=8051
e asm.bits=8
EOF
EXPECT=<<EOF
EOF
EXPECT=
RUN

NAME=8051: checking bitness writing (asm.bits)
Expand Down
3 changes: 1 addition & 2 deletions test/db/analysis/arm64
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ e emu.str=1
s 0x100011130
pd 2~addChild
EOF
EXPECT=<<EOF
EOF
EXPECT=
RUN

NAME=adrp string
Expand Down
6 changes: 2 additions & 4 deletions test/db/analysis/avr
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ s 0x2d0
wx 9093c007
ao 1~jump
EOF
EXPECT=<<EOF
EOF
EXPECT=
RUN

NAME=avr DISasm: negative baddr
Expand Down Expand Up @@ -776,8 +775,7 @@ s 0x2ee8
af
aae
EOF
EXPECT=<<EOF
EOF
EXPECT=
EXPECT_ERR=
RUN

Expand Down
3 changes: 1 addition & 2 deletions test/db/analysis/java
Original file line number Diff line number Diff line change
Expand Up @@ -1680,8 +1680,7 @@ NAME=Crash on analysis
FILE=bins/java/fba022731cfdd80bc65a899afefead1e
CMDS=e scr.prompt=false ; aaa
REGEXP_FILTER_OUT=ignoreme
EXPECT=<<EOF
EOF
EXPECT=
RUN

NAME=Java Regs
Expand Down
3 changes: 1 addition & 2 deletions test/db/analysis/sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ wx 01e005400a25862f962fa62fb62fc62f
af@0
af fuck@0x6
EOF
EXPECT=<<EOF
EOF
EXPECT=
RUN

NAME=SuperH regs
Expand Down
6 changes: 2 additions & 4 deletions test/db/analysis/x86_32
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,7 @@ RUN
NAME=adf bug #16215
FILE==
CMDS=adf
EXPECT=<<EOF
EOF
EXPECT=
RUN

NAME=adf analysis on an obfuscated executable
Expand Down Expand Up @@ -1364,8 +1363,7 @@ CMDS=<<EOF
aaa
afb @ sym.imp.kernel32.dll_ExitProcess
EOF
EXPECT=<<EOF
EOF
EXPECT=
RUN

NAME=xref aar on op.val
Expand Down
21 changes: 7 additions & 14 deletions test/db/analysis/x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -650,8 +650,7 @@ CMDS=<<EOF
aa > /dev/null
afl~sym.__mh_execute_header[0]
EOF
EXPECT=<<EOF
EOF
EXPECT=
RUN


Expand Down Expand Up @@ -744,8 +743,7 @@ aa
af-*
afl
EOF
EXPECT=<<EOF
EOF
EXPECT=
RUN

NAME=iS. and iSj. implementation
Expand Down Expand Up @@ -1358,8 +1356,7 @@ tfc CRTStartup THE_CC_THAT_NEVER_EXISTED
aei
aeim
EOF
EXPECT=<<EOF
EOF
EXPECT=
RUN

NAME=2: Wrong calling convention
Expand Down Expand Up @@ -1622,8 +1619,7 @@ af
afvr-*
afvr-*
EOF
EXPECT=<<EOF
EOF
EXPECT=
RUN

NAME=analysis vars crash 2
Expand Down Expand Up @@ -2738,8 +2734,7 @@ CMDS=<<EOF
aaa
fl~strlen~390
EOF
EXPECT=<<EOF
EOF
EXPECT=
RUN

NAME=no function split without overlapping blocks
Expand Down Expand Up @@ -4077,8 +4072,7 @@ s 0x780
af
pdr~- case[2]
EOF
EXPECT=<<EOF
EOF
EXPECT=
RUN

NAME=lea pseudo improvements (pseudo disabled)
Expand Down Expand Up @@ -4246,8 +4240,7 @@ FILE=bins/elf/dwarf_attr_check
CMDS=<<EOF
aaa
EOF
EXPECT=<<EOF
EOF
EXPECT=
RUN

NAME=x86_64 int64_t variable overlapping removal
Expand Down
3 changes: 1 addition & 2 deletions test/db/archos/linux-x64/bug_6678
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
NAME="bug 6678: crash case"
FILE==
CMDS=-d malloc://512 ='
EXPECT=<<EOF
EOF
EXPECT=
RUN
3 changes: 1 addition & 2 deletions test/db/archos/linux-x64/dbg
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ CMDS=<<EOF
. scripts/set-LD_PRELOAD.rz
!python3 scripts/dk_9.py
EOF
EXPECT=<<EOF
EOF
EXPECT=
EXPECT_ERR=<<EOF
child received signal 9
EOF
Expand Down
3 changes: 1 addition & 2 deletions test/db/archos/linux-x64/dbg_dt
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ dt++ 0 1 2
dt-
dtl
EOF
EXPECT=<<EOF
EOF
EXPECT=
RUN

NAME=Graph call/ret trace (dtg)
Expand Down
3 changes: 1 addition & 2 deletions test/db/archos/windows-x64/dbg_oo
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ CMDS=<<EOF
(reopen; ood > $_; doc > $_)
4 .(reopen)
EOF
EXPECT=<<EOF
EOF
EXPECT=
RUN
6 changes: 2 additions & 4 deletions test/db/cmd/bug_backtick
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@ NAME=t/bug_backtick
FILE==
BROKEN=1
CMDS=p8 3`~`
EXPECT=<<EOF
EOF
EXPECT=
RUN

NAME=Invalid offset due invalid command
FILE==
BROKEN=1
CMDS=fd @ `entry1`
EXPECT=<<EOF
EOF
EXPECT=
RUN
Loading

0 comments on commit f0dad8a

Please sign in to comment.