fold test_current_pid_tgid_new_ns into into test_progs
Subsystems (5)
PATCH v2 1/1 fold test_current_pid_tgid_new_ns into into test_progs
folds tests from test_current_pid_tgid_new_ns into test_progs.
Signed-off-by Carlos Neira <[email protected]>
--- tools/testing/selftests/bpf/Makefile | 3 +- .../bpf/prog_tests/ns_current_pid_tgid.c | 112 +++++++++++- .../bpf/test_current_pid_tgid_new_ns.c | 159 ------------------ 3 files changed, 112 insertions(+), 162 deletions(-) delete mode 100644 tools/testing/selftests/bpf/test_current_pid_tgid_new_ns.c
tools/testing/selftests/bpf/Makefile +1 -2
@@ -36,8 +36,7 @@ TEST_GEN_PROGS = test_verifier test_tag test_maps test_lru_map test_lpm_map test test_sock test_btf test_sockmap get_cgroup_id_user test_socket_cookie \ test_cgroup_storage \ test_netcnt test_tcpnotify_user test_sock_fields test_sysctl \ - test_progs-no_alu32 \ - test_current_pid_tgid_new_ns + test_progs-no_alu32 # Also test bpf-gcc, if present ifneq ($(BPF_GCC),)
tools/testing/selftests/bpf/prog_tests/ns_current_pid_tgid.c +111 -1
131 lines not on this page · raw message
tools/testing/selftests/bpf/test_current_pid_tgid_new_ns.c deleted +0 -159
159 lines not on this page · raw message
Signature · 1 line
2.20.1
Quoted 4 lines · Carlos Neira
folds tests from
test_current_pid_tgid_new_nsintotest_progs.Signed-off-by Carlos Neira <[email protected]>
Please resubmit when bpf-next reopens. Thanks