Skip to content

Commit

Permalink
fix: update test with latest libs fix
Browse files Browse the repository at this point in the history
ref libs PR: falcosecurity/libs#1923

Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com>
  • Loading branch information
Andreagit97 authored and poiana committed Jun 25, 2024
1 parent d18b516 commit 32e319a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/falco/legacy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2628,7 +2628,7 @@ func TestFalco_Legacy_NonSudoSetuid(t *testing.T) {
falco.WithArgs("-o", "json_include_output_property=false"),
falco.WithArgs("-o", "json_include_tags_property=false"),
)
assert.Zero(t, res.Detections().Count())
assert.Equal(t, 1, res.Detections().OfRule("Non sudo setuid").Count())
assert.NoError(t, res.Err(), "%s", res.Stderr())
assert.Equal(t, 0, res.ExitCode())
}
Expand Down

0 comments on commit 32e319a

Please sign in to comment.