Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(tests/falcodriverloader): fixed up falcoctl driver loader strings for v0.8.0-rc4+ #56

Merged
merged 1 commit into from
May 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/falcodriverloader/drivers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func TestFalcoLegacyBPF(t *testing.T) {
assert.NoError(t, loaderRes.Err(), "%s", loaderRes.Stderr())
assert.Equal(t, 0, loaderRes.ExitCode())
// We expect the probe to be succesfully built and copied to /root/.falco/falco-bpf.o
assert.Regexp(t, `Driver built.`, loaderRes.Stdout())
assert.Regexp(t, `eBPF probe available.`, loaderRes.Stdout())

// Now running Falco with `FALCO_BPF_PROBE=/root/.falco/falco-bpf.o` we should be able to run the bpf driver
falcoRes := falco.Test(
Expand Down Expand Up @@ -84,7 +84,7 @@ func TestFalcoKmod(t *testing.T) {
assert.NoError(t, loaderRes.Err(), "%s", loaderRes.Stderr())
assert.Equal(t, 0, loaderRes.ExitCode())
// We expect the module to be loaded in dkms
assert.Regexp(t, `Module installed in dkms.`, loaderRes.Stdout())
assert.Regexp(t, `kernel module available.`, loaderRes.Stdout())

// Now running Falco we should be able to run the kernel module
falcoRes := falco.Test(
Expand Down
Loading