Skip to content

Commit e8bfd28

Browse files
committed
selftests: bpf: skip FOU tests in test_tc_tunnel
JIRA: https://issues.redhat.com/browse/RHEL-101819 Upstream status: RHEL only. Forward ported from RHEL 9. We do not have FOU enabled. Skip tests using it in test_tc_tunnel.sh. Signed-off-by: Felix Maurer <fmaurer@redhat.com>
1 parent 36e9c0b commit e8bfd28

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tools/testing/selftests/bpf/test_tc_tunnel.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,12 @@ readonly datalen=$4
195195

196196
echo "encap ${addr1} to ${addr2}, type ${tuntype}, mac ${mac} len ${datalen}"
197197

198+
if [[ "$tuntype" =~ "udp" ]]; then
199+
# We do not have FOU enabled, skip the FOU tests
200+
echo SKIP
201+
exit 0
202+
fi
203+
198204
trap cleanup EXIT
199205

200206
setup

0 commit comments

Comments
 (0)