]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/bpf: ns_current_pid_tgid: Rename the test function
authorBastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com>
Wed, 19 Feb 2025 14:53:00 +0000 (15:53 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 19 Feb 2025 17:46:02 +0000 (09:46 -0800)
commit4a06c5251ae341224e4010795a4db080857545fe
treefd8d74d63af1d85d70fa6e49ccefa0a419f06b40
parent654765b5c6d62efad270ec5f8a57802dc253d128
selftests/bpf: ns_current_pid_tgid: Rename the test function

Next patch will add a new feature to test_prog to run tests in a
dedicated namespace if the test name starts with 'ns_'. Here the test
name already starts with 'ns_' and creates some namespaces which would
conflict with the new feature.

Rename the test to avoid this conflict.

Signed-off-by: Bastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com>
Link: https://lore.kernel.org/r/20250219-b4-tc_links-v2-1-14504db136b7@bootlin.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/ns_current_pid_tgid.c