Skip to content

Commit

Permalink
tests: Add missing check for scapy.
Browse files Browse the repository at this point in the history
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: 7b70e07 ("pinctrl: Reply with correct destination for ICMPv6 RA packets")
Signed-off-by: Mark Michelson <mmichels@redhat.com>
Acked-by: Ilya Maximets <i.maximets@ovn.org>
  • Loading branch information
putnopvut committed Oct 20, 2023
1 parent 4e04d4d commit e47d782
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/ovn.at
Original file line number Diff line number Diff line change
Expand Up @@ -12114,6 +12114,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

Expand Down

0 comments on commit e47d782

Please sign in to comment.