summaryrefslogtreecommitdiff
path: root/tests/dev/sysmon/Makefile
diff options
context:
space:
mode:
authorpooka <pooka@NetBSD.org>2010-08-06 16:13:26 +0000
committerpooka <pooka@NetBSD.org>2010-08-06 16:13:26 +0000
commitedcef5fc340fcd4738b4bdc67e4c8c87d86e97e0 (patch)
treed3bdb4adb27fe8ef1175204a148c30eddcd3ab60 /tests/dev/sysmon/Makefile
parentc3884c5c411a0eae49dd6da53fa642f78c88f563 (diff)
Add test cases to check that sysmon/swwdog will panic and reboot
the kernel if left untickled. Thanks to jmmv for the tip that doing this is possible in atf via means of fork/wait.
Diffstat (limited to 'tests/dev/sysmon/Makefile')
-rw-r--r--tests/dev/sysmon/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/dev/sysmon/Makefile b/tests/dev/sysmon/Makefile
new file mode 100644
index 00000000000..655ffb4600f
--- /dev/null
+++ b/tests/dev/sysmon/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2010/08/06 16:13:26 pooka Exp $
+#
+
+.include <bsd.own.mk>
+
+TESTSDIR= ${TESTSBASE}/dev/sysmon
+
+TESTS_C= t_swwdog
+
+LDADD+= -lrumpdev_sysmon -lrumpdev -lrumpvfs
+LDADD+= -lrump
+LDADD+= -lrumpuser -lpthread
+
+WARNS= 4
+
+.include <bsd.test.mk>