Thread (10 messages) 10 messages, 3 authors, 2021-07-27

Re: [PATCH bpf] selftests/bpf: Rewrite test_tc_redirect.sh as prog_tests/tc_redirect.c

From: Jussi Maki <hidden>
Date: 2021-05-03 10:58:54

On Fri, Apr 30, 2021 at 9:56 PM Andrii Nakryiko
[off-list ref] wrote:
On Thu, Apr 29, 2021 at 8:32 AM Jussi Maki [off-list ref] wrote:
quoted
Ports test_tc_redirect.sh to the test_progs framework and removes the
old test. This makes it more in line with rest of the tests and makes
it possible to run this test with vmtest.sh and under the bpf CI.

Signed-off-by: Jussi Maki <redacted>
---
Aren't there any Makefile changes that need to be done as well, given
you are removing "old style" test script?
Nope, it isn't mentioned anywhere.

I'll send a v2 that addresses your comments, e.g. switching
to ASSERT_xxx() and rewroting the sysctl stuff to handle errors
and restore original values so it won't affect other tests.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help