freebsd-nq/sbin/pfctl
Alex Richardson d815e42419 pfctl_test: avoid 200 calls to atf_get_srcdir
I have been trying to reduce the time that testsuite runs take for CheriBSD
on QEMU (currently about 22 hours). One of the slowest tests is pfctl_test:
Just listing the available test cases currently takes 98 seconds on a
CheriBSD RISC-V system due to all the processes being spawned. This trivial
patch reduces the time to 92 seconds. The better solution would be to
rewrite the test in C/C++ which I may do as a follow-up change.

Reviewed By:	kp
Differential Revision: https://reviews.freebsd.org/D26417
2020-09-14 08:51:18 +00:00
..
tests pfctl_test: avoid 200 calls to atf_get_srcdir 2020-09-14 08:51:18 +00:00
Makefile
Makefile.depend
parse.y
pf_print_state.c
pf.os
pfctl_altq.c
pfctl_optimize.c
pfctl_osfp.c
pfctl_parser.c pfctl: Call ifa_load() before ifa_grouplookup() 2020-04-19 15:37:13 +00:00
pfctl_parser.h
pfctl_qstats.c
pfctl_radix.c
pfctl_table.c
pfctl.8
pfctl.c
pfctl.h