proc: fix match condition in TestGnuDebuglink

This commit is contained in:
Oleksandr Redko 2023-04-07 08:30:11 +03:00 committed by Alessandro Arzilli
parent 74a69810fc
commit 6605d46758

@ -5917,7 +5917,7 @@ func TestGnuDebuglink(t *testing.T) {
for i := range normalBinInfo.Functions { for i := range normalBinInfo.Functions {
normalFn := normalBinInfo.Functions[i] normalFn := normalBinInfo.Functions[i]
debuglinkFn := debuglinkBinInfo.Functions[i] debuglinkFn := debuglinkBinInfo.Functions[i]
if normalFn.Entry != debuglinkFn.Entry || normalFn.Name != normalFn.Name { if normalFn.Entry != debuglinkFn.Entry || normalFn.Name != debuglinkFn.Name {
t.Fatalf("function definition mismatch") t.Fatalf("function definition mismatch")
} }
} }