diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile index 662825f55f99..3969baa70b5f 100644 --- a/tools/testing/selftests/bpf/Makefile +++ b/tools/testing/selftests/bpf/Makefile @@ -41,7 +41,7 @@ srctree := $(patsubst %/,%,$(dir $(srctree))) endif CFLAGS += -g $(OPT_FLAGS) -rdynamic \ - -Wall -Werror -fno-omit-frame-pointer \ + -fno-omit-frame-pointer \ $(GENFLAGS) $(SAN_CFLAGS) $(LIBELF_CFLAGS) \ -I$(CURDIR) -I$(INCLUDE_DIR) -I$(GENDIR) -I$(LIBDIR) \ -I$(TOOLSINCDIR) -I$(APIDIR) -I$(OUTPUT) diff --git a/tools/testing/selftests/bpf/prog_tests/mptcp.c b/tools/testing/selftests/bpf/prog_tests/mptcp.c index d8ae0d8ec61e..bd9253911199 100644 --- a/tools/testing/selftests/bpf/prog_tests/mptcp.c +++ b/tools/testing/selftests/bpf/prog_tests/mptcp.c @@ -600,9 +600,13 @@ static int userspace_pm_init(enum mptcp_pm_type pm_type) static void userspace_pm_cleanup(void) { + //SYS(fail, "ip netns exec %s cat %s", NS_TEST, PM_EVENTS); + SYS_NOFAIL("ip netns exec %s killall %s > /dev/null 2>&1", NS_TEST, PM_CTL); SYS_NOFAIL("ip netns exec %s rm -rf %s", NS_TEST, PM_EVENTS); +//fail: + ; } static char *get_events_str(char *type)