The pft_ping.py and sniffer.py tool is moved from/tests/sys/netpfil/pf to /tests/sys/netpfil/common directory because these tools are to be used in common for all the firewalls.
Details
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
- Make the pf tests use the sniffer and pft_ping tools from the common directory and hence ensure only one installation of these tools.
This probably also wants this:
diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc index 19adf066b1b..1725b06fa69 100644 --- a/ObsoleteFiles.inc +++ b/ObsoleteFiles.inc @@ -38,6 +38,9 @@ # xargs -n1 | sort | uniq -d; # done +# 20190816: move common netpfil test files +OLD_FILES+=usr/tests/sys/netpfil/pf/sniffer.py +OLD_FILES+=usr/tests/sys/netpfil/pf/pft_ping.py # 20190729: gzip'ed a.out support removed OLD_FILES+=usr/include/sys/inflate.h # 20190722: cap_random(3) removed
That'll allow people to clean up the old version of sniffer.py and pft_ping.py.
tests/sys/netpfil/pf/forward.sh | ||
---|---|---|
48 | I'd do ${common_dir}/pft_ping.py, if only for consistency. |
- Since the NAT tests landed before this diff the merge wouldn't be possible because the NAT tests changed the common/Makefile. Created an updated diff from the new upstream.
Hm, should the nul input separater really be used for outputting matched lines?
And if so, shouldn't it also be used with oflag above?