mirror of
https://github.com/opnsense/src.git
synced 2026-06-07 07:42:26 -04:00
The entire recv*() implementation set is ripe for opportunities to validate, so do what we can with what we have. Reviewed by: markj Sponsored by: Klara, Inc. Sponsored by: Stormshield Differential Revision: https://reviews.freebsd.org/D45686
30 lines
685 B
Makefile
30 lines
685 B
Makefile
.include <bsd.own.mk>
|
|
|
|
TESTSDIR:= ${TESTSBASE}/${RELDIR:C/libc\/tests/libc/}
|
|
|
|
# sys/ headers
|
|
FORTIFY_TCATS+= random
|
|
FORTIFY_TCATS+= select
|
|
FORTIFY_TCATS+= socket
|
|
FORTIFY_TCATS+= uio
|
|
|
|
# non-sys/ headers
|
|
FORTIFY_TCATS+= poll
|
|
FORTIFY_TCATS+= stdlib
|
|
FORTIFY_TCATS+= stdio
|
|
FORTIFY_TCATS+= string
|
|
FORTIFY_TCATS+= strings
|
|
FORTIFY_TCATS+= unistd
|
|
FORTIFY_TCATS+= wchar
|
|
|
|
# Manually run after updating the test generator.
|
|
generate-tests: .PHONY
|
|
.for tcat in ${FORTIFY_TCATS}
|
|
ATF_TESTS_C+= fortify_${tcat}_test
|
|
|
|
generate-tests: generate-tests-${tcat}
|
|
generate-tests-${tcat}: .PHONY
|
|
${.CURDIR}/generate-fortify-tests.lua ${tcat} > ${.CURDIR}/fortify_${tcat}_test.c
|
|
.endfor
|
|
|
|
.include <bsd.test.mk>
|