diff options
Diffstat (limited to 'src/regress/lib/libc/atexit/Makefile')
-rw-r--r-- | src/regress/lib/libc/atexit/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/regress/lib/libc/atexit/Makefile b/src/regress/lib/libc/atexit/Makefile new file mode 100644 index 0000000000..c14b3c7ac4 --- /dev/null +++ b/src/regress/lib/libc/atexit/Makefile | |||
@@ -0,0 +1,16 @@ | |||
1 | # $OpenBSD: Makefile,v 1.5 2003/07/31 22:46:59 david Exp $ | ||
2 | |||
3 | NOMAN= | ||
4 | PROG=atexit_test | ||
5 | CPPFLAGS+=-I${.CURDIR}/../../../../lib/libc | ||
6 | CLEANFILES+= invalid.out valid.out | ||
7 | |||
8 | run-regress-atexit_test: ${PROG} | ||
9 | ./${PROG} -valid 2>${.OBJDIR}/valid.out | ||
10 | cmp -s ${.OBJDIR}/valid.out ${.CURDIR}/valid.ok | ||
11 | ./${PROG} -invalid-atexit 2>${.OBJDIR}/invalid.out | ||
12 | cmp -s ${.OBJDIR}/invalid.out ${.CURDIR}/invalid.ok | ||
13 | ./${PROG} -invalid-cleanup 2>${.OBJDIR}/invalid.out | ||
14 | cmp -s ${.OBJDIR}/invalid.out ${.CURDIR}/invalid.ok | ||
15 | |||
16 | .include <bsd.regress.mk> | ||