summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/init/Makefile
diff options
context:
space:
mode:
authorbeck <>2018-03-19 14:34:33 +0000
committerbeck <>2018-03-19 14:34:33 +0000
commitd3d84b6f3e79d4f8b89ef8f2e9d67ecaf8294433 (patch)
tree64427255081f32fb8e12275122ba712b03ea555c /src/regress/lib/libcrypto/init/Makefile
parent0411609e921425cc1953e32e3b9b37723d5e0459 (diff)
downloadopenbsd-d3d84b6f3e79d4f8b89ef8f2e9d67ecaf8294433.tar.gz
openbsd-d3d84b6f3e79d4f8b89ef8f2e9d67ecaf8294433.tar.bz2
openbsd-d3d84b6f3e79d4f8b89ef8f2e9d67ecaf8294433.zip
Add regress test ensuring autoinit stays pledge("stdio") safe.
Diffstat (limited to 'src/regress/lib/libcrypto/init/Makefile')
-rw-r--r--src/regress/lib/libcrypto/init/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/regress/lib/libcrypto/init/Makefile b/src/regress/lib/libcrypto/init/Makefile
new file mode 100644
index 0000000000..33b0a2aa76
--- /dev/null
+++ b/src/regress/lib/libcrypto/init/Makefile
@@ -0,0 +1,14 @@
1# $OpenBSD: Makefile,v 1.1 2018/03/19 14:34:33 beck Exp $
2PROG= init_pledge
3SRCS+= init_pledge.c
4NOMAN= yes
5
6LDADD+= -lcrypto -lutil
7CFLAGS+= -Wall -Werror
8
9REGRESS_TARGETS+= test_normal
10
11test_normal: ${PROG}
12 ./${PROG}
13
14.include <bsd.regress.mk>