diff options
| author | matthew <> | 2014-06-18 08:24:00 +0000 |
|---|---|---|
| committer | matthew <> | 2014-06-18 08:24:00 +0000 |
| commit | 067b361c7dbce14db401c57d13ca4e1146dedc3c (patch) | |
| tree | 2ebd193036aaa17c6541fe588d07d51ab0565947 /src/regress/lib/libc/arc4random-fork/Makefile | |
| parent | 55ad4aef932036908afcad6f20ae13f48e12db53 (diff) | |
| download | openbsd-067b361c7dbce14db401c57d13ca4e1146dedc3c.tar.gz openbsd-067b361c7dbce14db401c57d13ca4e1146dedc3c.tar.bz2 openbsd-067b361c7dbce14db401c57d13ca4e1146dedc3c.zip | |
Add regress tests to make sure arc4random(3) is reinitialized
correctly in fork children.
Diffstat (limited to 'src/regress/lib/libc/arc4random-fork/Makefile')
| -rw-r--r-- | src/regress/lib/libc/arc4random-fork/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/regress/lib/libc/arc4random-fork/Makefile b/src/regress/lib/libc/arc4random-fork/Makefile new file mode 100644 index 0000000000..05762e33ff --- /dev/null +++ b/src/regress/lib/libc/arc4random-fork/Makefile | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.1 2014/06/18 08:24:00 matthew Exp $ | ||
| 2 | |||
| 3 | PROG= arc4random-fork | ||
| 4 | |||
| 5 | REGRESS_TARGETS= \ | ||
| 6 | run \ | ||
| 7 | run-buf \ | ||
| 8 | run-prefork \ | ||
| 9 | run-buf-prefork | ||
| 10 | |||
| 11 | run: ${PROG} | ||
| 12 | ./${PROG} | ||
| 13 | |||
| 14 | run-buf: ${PROG} | ||
| 15 | ./${PROG} -b | ||
| 16 | |||
| 17 | run-prefork: ${PROG} | ||
| 18 | ./${PROG} -p | ||
| 19 | |||
| 20 | run-buf-prefork: ${PROG} | ||
| 21 | ./${PROG} -bp | ||
| 22 | |||
| 23 | .PHONY: ${REGRESS_TARGETS} | ||
| 24 | |||
| 25 | .include <bsd.regress.mk> | ||
