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
commit7dfb474cf3fbbf623463a9b51f61e868a92beb97 (patch)
tree64427255081f32fb8e12275122ba712b03ea555c /src/regress/lib/libcrypto/init/Makefile
parent04c4112e8d2770804097131bb03e0f29f79ae25d (diff)
downloadopenbsd-7dfb474cf3fbbf623463a9b51f61e868a92beb97.tar.gz
openbsd-7dfb474cf3fbbf623463a9b51f61e868a92beb97.tar.bz2
openbsd-7dfb474cf3fbbf623463a9b51f61e868a92beb97.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>