Re: [PATCH 2/3] selftests/seccomp: Refactor to use fixture variants

2020-07-05 Thread Jakub Kicinski
On Sat, 4 Jul 2020 23:12:31 -0700 Kees Cook wrote: > Now that the selftest harness has variants, use them to eliminate a > bunch of copy/paste duplication. > > Cc: Andy Lutomirski > Cc: Will Drewry > Cc: Jakub Kicinski > Signed-off-by: Kees Cook Acked-by: Jakub Kicinski

[PATCH 2/3] selftests/seccomp: Refactor to use fixture variants

2020-07-04 Thread Kees Cook
Now that the selftest harness has variants, use them to eliminate a bunch of copy/paste duplication. Cc: Andy Lutomirski Cc: Will Drewry Cc: Jakub Kicinski Signed-off-by: Kees Cook --- tools/testing/selftests/seccomp/seccomp_bpf.c | 199 -- 1 file changed, 42 insertions(+), 15