mirror of
https://github.com/falcosecurity/falco.git
synced 2026-01-25 14:54:04 +00:00
new(tests/engine): update socket path
Signed-off-by: Lorenzo Fontana <lo@linux.com>
This commit is contained in:
@@ -18,13 +18,13 @@ limitations under the License.
|
||||
|
||||
TEST_CASE("Startswith shold match when checked string has prefix", "[utils]")
|
||||
{
|
||||
bool res = falco::utils::starts_with("unix:///var/run/falco/falco.sock", "unix://");
|
||||
bool res = falco::utils::starts_with("unix:///var/run/falco.sock", "unix://");
|
||||
REQUIRE(res);
|
||||
}
|
||||
|
||||
TEST_CASE("Startswith shold not match when checked string does not have prefix", "[utils]")
|
||||
{
|
||||
bool res = falco::utils::starts_with("unix:///var/run/falco/falco.sock", "something://");
|
||||
bool res = falco::utils::starts_with("unix:///var/run/falco.sock", "something://");
|
||||
REQUIRE_FALSE(res);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user