selftests/bpf: Fix running of XDP bonding tests
authorJussi Maki <joamaki@gmail.com>
Wed, 11 Aug 2021 12:36:27 +0000 (12:36 +0000)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 13 Aug 2021 21:48:16 +0000 (23:48 +0200)
commitcf7a5cba86fc2d3000c555b9568f7dd0f43bf0d4
treea42c04b9dc71b092875ced0cd153e4bd6b257a39
parentafa79d08c6c8e1901cb1547591e3ccd3ec6965d9
selftests/bpf: Fix running of XDP bonding tests

An "innocent" cleanup in the last version of the XDP bonding patchset moved
the "test__start_subtest" calls to the test main function, but I forgot to
reverse the condition, which lead to all tests being skipped. Fix it.

Fixes: 6aab1c81b98a ("selftests/bpf: Add tests for XDP bonding")
Signed-off-by: Jussi Maki <joamaki@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20210811123627.20223-1-joamaki@gmail.com
tools/testing/selftests/bpf/prog_tests/xdp_bonding.c