Skip to content

Commit

Permalink
kola/tests/falco: Pass kmod to driver loader
Browse files Browse the repository at this point in the history
The driver-loader switched to using "modern_ebpf" mode by default, but lets
continue testing kmod.

Signed-off-by: Jeremi Piotrowski <[email protected]>
  • Loading branch information
jepio committed Apr 17, 2024
1 parent d5a3a25 commit 69cf656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kola/tests/misc/falco.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func init() {

func loadFalco(c cluster.TestCluster) {
// load the falco binary
c.MustSSH(c.Machines()[0], "docker run --rm --privileged -v /root/.falco:/root/.falco -v /proc:/host/proc:ro -v /boot:/host/boot:ro -v /lib/modules:/host/lib/modules:ro -v /usr:/host/usr:ro -v /etc:/host/etc:ro falcosecurity/falco-driver-loader:master")
c.MustSSH(c.Machines()[0], "docker run --rm --privileged -v /root/.falco:/root/.falco -v /proc:/host/proc:ro -v /boot:/host/boot:ro -v /lib/modules:/host/lib/modules:ro -v /usr:/host/usr:ro -v /etc:/host/etc:ro falcosecurity/falco-driver-loader:master kmod")
// Build must succeed and falco must be running
c.MustSSH(c.Machines()[0], "dmesg | grep falco")
c.MustSSH(c.Machines()[0], "lsmod | grep falco")
Expand Down

0 comments on commit 69cf656

Please sign in to comment.