Skip to content

Commit

Permalink
kallsyms: extend test
Browse files Browse the repository at this point in the history
Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
  • Loading branch information
lmb committed Feb 22, 2024
1 parent 5fd9ae5 commit 5ad459e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions internal/kallsyms/kallsyms_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,5 @@ func TestKernelModule(t *testing.T) {
t.Errorf("expected %q got %q", "", kmod)
}

// not present
kmod = kmods["asdfasdf"]
if kmod != "" {
t.Errorf("expected %q got %q", "", kmod)
}
qt.Assert(t, qt.Equals(kmods["nft_counter_seq"], ""))
}

0 comments on commit 5ad459e

Please sign in to comment.