From 25da57a13035fb9e030a69398c70f3362c5326c8 Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Fri, 20 Oct 2023 12:21:00 -0400 Subject: [PATCH] tests: Add missing check for scapy. The "IPv6 ND Router Solicitation responder" test was altered to test more cases. When the test was updated, the author updated the test to use fmt_pkt instead of constructing the packets by hand. Unfortunately, this change did not include the directive to skip the test if scapy is not installed. This commit adds the check so that systems that do not have scapy installed can still run tests appropriately. Fixes: 7b70e07ce312 ("pinctrl: Reply with correct destination for ICMPv6 RA packets") Signed-off-by: Mark Michelson Acked-by: Ilya Maximets --- tests/ovn.at | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/ovn.at b/tests/ovn.at index e331c5e2f0..fcb8f9b00f 100644 --- a/tests/ovn.at +++ b/tests/ovn.at @@ -12319,6 +12319,7 @@ AT_CLEANUP OVN_FOR_EACH_NORTHD([ AT_SETUP([IPv6 ND Router Solicitation responder]) +AT_SKIP_IF([test $HAVE_SCAPY = no]) AT_KEYWORDS([ovn-nd_ra]) ovn_start