From 930170bb0b8f2cbce973f5c07ae86f56689f717e Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Wed, 6 Dec 2023 15:36:30 +0100 Subject: [PATCH] fix(tests/falcodriverloader): fixed falcoctl exptected output. Signed-off-by: Federico Di Pierro --- tests/falcodriverloader/drivers_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/falcodriverloader/drivers_test.go b/tests/falcodriverloader/drivers_test.go index bfa0bc8..ac2ea42 100644 --- a/tests/falcodriverloader/drivers_test.go +++ b/tests/falcodriverloader/drivers_test.go @@ -55,7 +55,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, `Probe successfully built.`, loaderRes.Stdout()) + assert.Regexp(t, `Driver built.`, 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(