diff options
| author | beck <> | 2018-03-19 14:34:33 +0000 |
|---|---|---|
| committer | beck <> | 2018-03-19 14:34:33 +0000 |
| commit | 7dfb474cf3fbbf623463a9b51f61e868a92beb97 (patch) | |
| tree | 64427255081f32fb8e12275122ba712b03ea555c /src/regress/lib/libcrypto/init/Makefile | |
| parent | 04c4112e8d2770804097131bb03e0f29f79ae25d (diff) | |
| download | openbsd-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/Makefile | 14 |
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 $ | ||
| 2 | PROG= init_pledge | ||
| 3 | SRCS+= init_pledge.c | ||
| 4 | NOMAN= yes | ||
| 5 | |||
| 6 | LDADD+= -lcrypto -lutil | ||
| 7 | CFLAGS+= -Wall -Werror | ||
| 8 | |||
| 9 | REGRESS_TARGETS+= test_normal | ||
| 10 | |||
| 11 | test_normal: ${PROG} | ||
| 12 | ./${PROG} | ||
| 13 | |||
| 14 | .include <bsd.regress.mk> | ||
