From c7e05895473ce67ad41fcfa88040273d38977ab1 Mon Sep 17 00:00:00 2001 From: Andrea Terzolo Date: Fri, 8 Nov 2024 20:20:51 +0100 Subject: [PATCH] tests: fix `check_event_names` test Signed-off-by: Andrea Terzolo --- test/libscap/test_suites/userspace/event_table.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/libscap/test_suites/userspace/event_table.cpp b/test/libscap/test_suites/userspace/event_table.cpp index f295ec4c402..4ca16ac112f 100644 --- a/test/libscap/test_suites/userspace/event_table.cpp +++ b/test/libscap/test_suites/userspace/event_table.cpp @@ -137,6 +137,10 @@ TEST(event_table, check_event_names) { continue; } + if(info.flags & EF_NEW_VERSION) { + continue; + } + event_names_count[info.name]++; }