summaryrefslogtreecommitdiff
path: root/regress/sys/kern
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-02-08 20:15:15 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-02-08 20:15:15 +0000
commita22a39ea6fb2b786725d9ea2308e0d61c5a04d61 (patch)
tree6a2b978b8fb0f2d9a8fc8737fd0191226ac6e4c2 /regress/sys/kern
parentff5cbee4de5a472eeac943aa6765543a905bc084 (diff)
Ok, I'm sick, but I just had to do this.
Diffstat (limited to 'regress/sys/kern')
-rw-r--r--regress/sys/kern/exit/Makefile5
-rw-r--r--regress/sys/kern/exit/exit.c12
2 files changed, 17 insertions, 0 deletions
diff --git a/regress/sys/kern/exit/Makefile b/regress/sys/kern/exit/Makefile
new file mode 100644
index 00000000000..182706bc05e
--- /dev/null
+++ b/regress/sys/kern/exit/Makefile
@@ -0,0 +1,5 @@
+# $OpenBSD: Makefile,v 1.1 2002/02/08 20:15:14 art Exp $
+
+PROG= exit
+
+.include <bsd.regress.mk>
diff --git a/regress/sys/kern/exit/exit.c b/regress/sys/kern/exit/exit.c
new file mode 100644
index 00000000000..996ad1cf75c
--- /dev/null
+++ b/regress/sys/kern/exit/exit.c
@@ -0,0 +1,12 @@
+/* $OpenBSD: exit.c,v 1.1 2002/02/08 20:15:14 art Exp $ */
+/*
+ * Written by Artur Grabowski <art@openbsd.org> 2002 Public Domain.
+ */
+#include <stdlib.h>
+
+int
+main()
+{
+ _exit(0);
+ abort();
+}