diff options
author | Alex Richardson <arichardson@FreeBSD.org> | 2021-02-23 19:04:01 +0000 |
---|---|---|
committer | Alex Richardson <arichardson@FreeBSD.org> | 2021-03-17 22:22:49 +0000 |
commit | 3150732abb620cb17a918092e73b9fd9198f80d2 (patch) | |
tree | 2b0e58f3621ec3ded68909fc3f384e5bf1d73ebd | |
parent | 2556fce493ab586e287ea690532fc0c89d488d4b (diff) | |
download | src-3150732abb620cb17a918092e73b9fd9198f80d2.tar.gz src-3150732abb620cb17a918092e73b9fd9198f80d2.zip |
tests/sys/netpfil/pf: Add missing python3 requirements
This also fixes a typo in the dup test that caused the head function to
not be called. On my test system without python3 the tests are now
skipped instead of failing.
Reviewed By: kp
Differential Revision: https://reviews.freebsd.org/D28903
(cherry picked from commit 98202829d1b3727a8706f45d052fc9e9507b562b)
-rw-r--r-- | tests/sys/netpfil/pf/checksum.sh | 1 | ||||
-rw-r--r-- | tests/sys/netpfil/pf/dup.sh | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/sys/netpfil/pf/checksum.sh b/tests/sys/netpfil/pf/checksum.sh index 778ae1cd6e9f..836bc1233963 100644 --- a/tests/sys/netpfil/pf/checksum.sh +++ b/tests/sys/netpfil/pf/checksum.sh @@ -32,6 +32,7 @@ unaligned_head() { atf_set descr 'Test unaligned checksum updates' atf_set require.user root + atf_set require.progs scapy } unaligned_body() diff --git a/tests/sys/netpfil/pf/dup.sh b/tests/sys/netpfil/pf/dup.sh index 7b9a91804e96..3b3bef976fc2 100644 --- a/tests/sys/netpfil/pf/dup.sh +++ b/tests/sys/netpfil/pf/dup.sh @@ -30,10 +30,11 @@ common_dir=$(atf_get_srcdir)/../common atf_test_case "dup_to" "cleanup" -do_to_head() +dup_to_head() { atf_set descr 'dup-to test' atf_set require.user root + atf_set require.progs scapy } dup_to_body() |