freebsd-dev/tools/regression/sockets/accept_fd_leak/Makefile
Enji Cooper 41119c8725 - Parameterize out the number of accept/connect attempts
- Randomize the bind port to allow 2+ consecutive calls in < 10 minutes, and
  to also not fail if (for instance) there's a server already listening on port
  8080
- Don't leak the listening socket / fds into the child process
- Fix warnings:
-- Remove argc/argv (-Wunused)
-- Mark sig __unused (-Wunused)
-- Mark quit static (-Wmissing-variable-declarations)

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-10 09:21:07 +00:00

10 lines
77 B
Makefile

#
# $FreeBSD$
#
PROG= accept_fd_leak
MAN=
WARNS?= 6
.include <bsd.prog.mk>