OSDN Git Service

bpf: use --cgroup in test_suite if supplied
authorJohn Fastabend <john.fastabend@gmail.com>
Tue, 28 Aug 2018 16:10:50 +0000 (09:10 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 29 Aug 2018 15:29:55 +0000 (17:29 +0200)
commit7d2c6cfc5411207f1094e7ca5e63e711dc76d1ff
treececc1c4f860af42f4a7541fb2455854c80cb6b5d
parentb5d83fec732dc98e37b22e8b20a7943aa0bb55d9
bpf: use --cgroup in test_suite if supplied

If the user supplies a --cgroup value in the arguments when running
the test_suite go ahaead and run the self tests there. I use this
to test with multiple cgroup users.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/test_sockmap.c