xref: /openbsd-src/regress/sys/kern/pledge/generic/Makefile (revision 7a7077c028cf38d6f086fdf15b487a0ad276c621)
1#	$OpenBSD: Makefile,v 1.11 2024/06/03 08:02:22 anton Exp $
2PROG=	generic
3SRCS=	main.c manager.c test_stdio.c test_tty.c pty.c
4NOMAN=	yes
5
6LDADD+=		-lutil
7CFLAGS+=	-Wall -Werror
8
9REGRESS_TARGETS+=	test_normal
10
11test_normal: ${PROG}
12	ulimit -c unlimited && \
13	./${PROG} | diff -I OpenBSD -u ${.CURDIR}/tests.out -
14
15.include <bsd.regress.mk>
16