proc: fix match condition in TestGnuDebuglink
This commit is contained in:
parent
74a69810fc
commit
6605d46758
@ -5917,7 +5917,7 @@ func TestGnuDebuglink(t *testing.T) {
|
||||
for i := range normalBinInfo.Functions {
|
||||
normalFn := normalBinInfo.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")
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user