git: 98202829d1b3 - main - tests/sys/netpfil/pf: Add missing python3 requirements
Alex Richardson
arichardson at FreeBSD.org
Mon Mar 1 12:55:57 UTC 2021
The branch main has been updated by arichardson:
URL: https://cgit.FreeBSD.org/src/commit/?id=98202829d1b3727a8706f45d052fc9e9507b562b
commit 98202829d1b3727a8706f45d052fc9e9507b562b
Author: Alex Richardson <arichardson at FreeBSD.org>
AuthorDate: 2021-02-23 19:04:01 +0000
Commit: Alex Richardson <arichardson at FreeBSD.org>
CommitDate: 2021-03-01 12:53:45 +0000
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
---
tests/sys/netpfil/pf/checksum.sh | 1 +
tests/sys/netpfil/pf/dup.sh | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
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()
More information about the dev-commits-src-main
mailing list