summaryrefslogtreecommitdiffstats
path: root/tests/sys/kern/Makefile
diff options
context:
space:
mode:
authorasomers <asomers@FreeBSD.org>2014-02-13 22:19:24 +0000
committerasomers <asomers@FreeBSD.org>2014-02-13 22:19:24 +0000
commit999d9343fa00efb4ad9b30bd96bfaaac0abe2afe (patch)
treec6ab4b2c129b21791ff389a036e5fbff65e99500 /tests/sys/kern/Makefile
parentccd36e4300ee156bc8af97fd65e1be79cec892e0 (diff)
downloadFreeBSD-src-999d9343fa00efb4ad9b30bd96bfaaac0abe2afe.zip
FreeBSD-src-999d9343fa00efb4ad9b30bd96bfaaac0abe2afe.tar.gz
MFC r261081, r261133, and r261615
r261081 Replace the old unix_seqpacket and unix_seqpacket_exercise tests, which were a little broken and not automatable, with unix_seqpacket_test. It's coverage is a superset of the old tests and it uses ATF. It includes test cases for bugs kern/185813 and kern/185812. r261133 Fix the Makefiles so that the tests I submitted in r261081 will actually get built. r261615 tests/sys/Makefile use TESTS_SUBDIRS for kern instead of SUBDIRS. I don't think it makes a difference in this case, but TESTS_SUBDIRS is generally correct for subdirectories that contain tests.
Diffstat (limited to 'tests/sys/kern/Makefile')
-rw-r--r--tests/sys/kern/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/sys/kern/Makefile b/tests/sys/kern/Makefile
new file mode 100644
index 0000000..576e7d2
--- /dev/null
+++ b/tests/sys/kern/Makefile
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+TESTSDIR= ${TESTSBASE}/sys/kern
+
+ATF_TESTS_C= unix_seqpacket_test
+TEST_METADATA.unix_seqpacket_test+= timeout="15"
+
+LDADD+= -lpthread
+
+.include <atf.test.mk>
OpenPOWER on IntegriCloud