mirror of
https://github.com/falcosecurity/falco.git
synced 2025-07-18 16:51:30 +00:00
test: don't test load config if we are under wasm
Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com>
This commit is contained in:
parent
96f474a29c
commit
898ba68b3b
@ -18,7 +18,7 @@ limitations under the License.
|
|||||||
#include "app_action_helpers.h"
|
#include "app_action_helpers.h"
|
||||||
#include "falco_test_var.h"
|
#include "falco_test_var.h"
|
||||||
|
|
||||||
|
#ifndef __EMSCRIPTEN__
|
||||||
TEST(ActionLoadConfig, check_engine_config_is_correctly_parsed)
|
TEST(ActionLoadConfig, check_engine_config_is_correctly_parsed)
|
||||||
{
|
{
|
||||||
falco::app::state s = {};
|
falco::app::state s = {};
|
||||||
@ -195,3 +195,4 @@ TEST(ActionLoadConfig, check_override_command_line_gvisor)
|
|||||||
EXPECT_EQ(s.config->m_cpus_for_each_syscall_buffer, 3);
|
EXPECT_EQ(s.config->m_cpus_for_each_syscall_buffer, 3);
|
||||||
EXPECT_TRUE(s.config->m_syscall_drop_failed_exit);
|
EXPECT_TRUE(s.config->m_syscall_drop_failed_exit);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user