diff options
author | Roman Gushchin <guro@fb.com> | 2019-05-25 18:37:40 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-05-28 18:30:02 +0200 |
commit | ba0c0cc05dda2c56e23c88e4610ce2ac65ff86ec (patch) | |
tree | 0cd94982943eb2a36f4b1f645a4357533343896d /tools/testing/selftests/bpf/.gitignore | |
parent | bpf: decouple the lifetime of cgroup_bpf from cgroup itself (diff) | |
download | linux-ba0c0cc05dda2c56e23c88e4610ce2ac65ff86ec.tar.xz linux-ba0c0cc05dda2c56e23c88e4610ce2ac65ff86ec.zip |
selftests/bpf: convert test_cgrp2_attach2 example into kselftest
Convert test_cgrp2_attach2 example into a proper test_cgroup_attach
kselftest. It's better because we do run kselftest on a constant
basis, so there are better chances to spot a potential regression.
Also make it slightly less verbose to conform kselftests output style.
Output example:
$ ./test_cgroup_attach
#override:PASS
#multi:PASS
test_cgroup_attach:PASS
Signed-off-by: Roman Gushchin <guro@fb.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/.gitignore')
-rw-r--r-- | tools/testing/selftests/bpf/.gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/.gitignore b/tools/testing/selftests/bpf/.gitignore index b3da2ffdc158..b2a9902f11c5 100644 --- a/tools/testing/selftests/bpf/.gitignore +++ b/tools/testing/selftests/bpf/.gitignore @@ -22,6 +22,7 @@ test_lirc_mode2_user get_cgroup_id_user test_skb_cgroup_id_user test_socket_cookie +test_cgroup_attach test_cgroup_storage test_select_reuseport test_flow_dissector |