summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/atexit/Makefile
diff options
context:
space:
mode:
authordhartmei <>2002-07-29 19:51:41 +0000
committerdhartmei <>2002-07-29 19:51:41 +0000
commit6f9ce38a0a9c5edc0d3984f9c1878e6f227fd210 (patch)
tree15553b4c82f60ec75d853da70ce8e83d81a865c5 /src/regress/lib/libc/atexit/Makefile
parent25bbc9a70b23853a4437755a23e8343266347817 (diff)
downloadopenbsd-6f9ce38a0a9c5edc0d3984f9c1878e6f227fd210.tar.gz
openbsd-6f9ce38a0a9c5edc0d3984f9c1878e6f227fd210.tar.bz2
openbsd-6f9ce38a0a9c5edc0d3984f9c1878e6f227fd210.zip
Try to modify __atexit directly and see if our function gets called.
Diffstat (limited to 'src/regress/lib/libc/atexit/Makefile')
-rw-r--r--src/regress/lib/libc/atexit/Makefile12
1 files changed, 12 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..800c1b5ed6
--- /dev/null
+++ b/src/regress/lib/libc/atexit/Makefile
@@ -0,0 +1,12 @@
1# $OpenBSD: Makefile,v 1.1 2002/07/29 19:51:41 dhartmei Exp $
2
3NOMAN=
4PROG=atexit_test
5
6regress: ${PROG}
7 ./${PROG} -valid 2>${.OBJDIR}/valid.out
8 cmp -s ${.OBJDIR}/valid.out ${.CURDIR}/valid.ok
9 ./${PROG} -invalid 2>${.OBJDIR}/invalid.out
10 cmp -s ${.OBJDIR}/invalid.out ${.CURDIR}/invalid.ok
11
12.include <bsd.regress.mk>