From 63bf8e13494216be1ecb4f081aeffc961e350bcf Mon Sep 17 00:00:00 2001 From: Alan Jowett Date: Thu, 3 Aug 2023 12:36:35 -0700 Subject: [PATCH] Add test case to verify ebpf-samples/build/prog_array.o Signed-off-by: Alan Jowett --- ebpf-samples | 2 +- external/libbtf | 2 +- src/test/test_verify.cpp | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ebpf-samples b/ebpf-samples index ac3262d7f..e6486118e 160000 --- a/ebpf-samples +++ b/ebpf-samples @@ -1 +1 @@ -Subproject commit ac3262d7f3e02e5fa377a7e9984965cb57d8ae7c +Subproject commit e6486118e4997a9780a30fd4bfeedcefd1567c8b diff --git a/external/libbtf b/external/libbtf index 1b467a9e2..f5fab5a0b 160000 --- a/external/libbtf +++ b/external/libbtf @@ -1 +1 @@ -Subproject commit 1b467a9e22f9b812abb0593a2d20458fe05e7951 +Subproject commit f5fab5a0b36869c104fa45a6ffb6c87295a22888 diff --git a/src/test/test_verify.cpp b/src/test/test_verify.cpp index 8fb5f1c72..450a2acbb 100644 --- a/src/test/test_verify.cpp +++ b/src/test/test_verify.cpp @@ -469,6 +469,7 @@ TEST_SECTION("build", "map_in_map_legacy.o", ".text") TEST_SECTION("build", "twomaps.o", ".text"); TEST_SECTION("build", "twostackvars.o", ".text"); TEST_SECTION("build", "twotypes.o", ".text"); +TEST_SECTION("build", "prog_array.o", ".text"); // Test some programs that ought to fail verification. TEST_SECTION_REJECT("build", "badhelpercall.o", ".text")