Skip to contentSkip to conversation

fold test_current_pid_tgid_new_ns into into test_progs

PATCH Superseded Carlos Neira 2 participants 2 messages Jun 3, 2020

Subsystems (5)

v2 of 12 Superseded Latest is v12 →

lore
Share & tools
lore
#0 lore raw

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.

---
 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
index 22aaec74ea0a..7b2ea7adccb0 100644
@@ -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