git: 7d45cdbad4d7 - main - pf tests: pfsync:defer requires scapy

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Wed, 13 Sep 2023 11:23:58 UTC
The branch main has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=7d45cdbad4d7905239404e1abc25dbbae4658446

commit 7d45cdbad4d7905239404e1abc25dbbae4658446
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2023-09-13 09:11:02 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2023-09-13 09:12:27 +0000

    pf tests: pfsync:defer requires scapy
    
    Add the kyua hint so we skip the test if it's not installed.
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 tests/sys/netpfil/pf/pfsync.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/sys/netpfil/pf/pfsync.sh b/tests/sys/netpfil/pf/pfsync.sh
index d62cdddd504a..80b81205b59d 100644
--- a/tests/sys/netpfil/pf/pfsync.sh
+++ b/tests/sys/netpfil/pf/pfsync.sh
@@ -118,6 +118,7 @@ defer_head()
 {
 	atf_set descr 'Defer mode pfsync test'
 	atf_set require.user root
+	atf_set require.progs scapy
 }
 
 defer_body()