]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf tests: require scapy for ether:short_pkt
authorMitchell Horne <mhorne@FreeBSD.org>
Thu, 15 Sep 2022 13:57:07 +0000 (10:57 -0300)
committerMitchell Horne <mhorne@FreeBSD.org>
Thu, 15 Sep 2022 13:58:42 +0000 (10:58 -0300)
commit80dadb9c1acf406ec25c6db0d0f8551406ae8920
tree6090302d6fcd4e780b8b7dcafd5636b1d5aa7bca
parent0090d18235269cc5f9582712a42fb5641d5b6f71
pf tests: require scapy for ether:short_pkt

The pft_ether.py script requires both python and scapy to be installed.
Check for this so we properly skip the test when it is unavailable.

Reviewed by: kp
Fixes: 07ffa50ba075d ("pf tests: test short packets")
Differential Revision: https://reviews.freebsd.org/D36561
tests/sys/netpfil/pf/ether.sh