summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorasomers <asomers@FreeBSD.org>2018-03-10 03:15:44 +0000
committerasomers <asomers@FreeBSD.org>2018-03-10 03:15:44 +0000
commitf405fcd259d80145bb9521ca6414835696d9e597 (patch)
treea362b2f7fbe226016ee0dfad0cd5882eacbb4337 /tests
parent9914818cebc7173ea1562eba3de95be61826bb7c (diff)
downloadFreeBSD-src-f405fcd259d80145bb9521ca6414835696d9e597.zip
FreeBSD-src-f405fcd259d80145bb9521ca6414835696d9e597.tar.gz
MFC r328896, r329236
r328896: Fix and enable SysV IPC tests. Don't declare some types that FreeBSD incorrectly declares. Fix an incorrect call to open() (missing mode). ANSIfy prototypes. Enable SysV message queue, semaphore, and shared memory tests. With exception of the workaround for union semun, these fixes have been committed to NetBSD. Reviewed by: asomers Approved by: CheriBSD Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D13471 r329236: Fix Coverity CIDs in the sys/kern/sysv_test tests CID 979810: strcpy => strlcpy CID 1193367: don't leak a file descriptor CID 1299856: Check the return value of read(2) Reported by: Coverity Coverity CID: 978910 1193367 1299856 X-MFC-With: 328896 Sponsored by: Spectra Logic Corp
Diffstat (limited to 'tests')
-rw-r--r--tests/sys/kern/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/sys/kern/Makefile b/tests/sys/kern/Makefile
index 7eb07be..a3bffef 100644
--- a/tests/sys/kern/Makefile
+++ b/tests/sys/kern/Makefile
@@ -21,6 +21,7 @@ LIBADD.unix_seqpacket_test+= pthread
NETBSD_ATF_TESTS_C+= lockf_test
NETBSD_ATF_TESTS_C+= mqueue_test
+NETBSD_ATF_TESTS_C+= sysv_test
CFLAGS.mqueue_test+= -I${SRCTOP}/tests
LIBADD.mqueue_test+= rt
OpenPOWER on IntegriCloud