svn commit: r321114 - in stable/11: etc/mtree lib/libsbuf lib/libsbuf/tests
Ngie Cooper
ngie at FreeBSD.org
Tue Jul 18 08:23:48 UTC 2017
Author: ngie
Date: Tue Jul 18 08:23:47 2017
New Revision: 321114
URL: https://svnweb.freebsd.org/changeset/base/321114
Log:
MFC r316557:
sbuf(3): add some basic functional tests for the library
Areas not covered still [positive functionality wise] are:
- sbuf_{clear,get,set}_flags
- sbuf_new (in particular, with fixed buffers, etc).
Some basic negative testing has been added, but more will be added in the
future.
This work was in part to validate work done by cem in r288223, and ian
before that.
Added:
stable/11/lib/libsbuf/tests/
- copied from r316557, head/lib/libsbuf/tests/
Modified:
stable/11/etc/mtree/BSD.tests.dist
stable/11/lib/libsbuf/Makefile
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/etc/mtree/BSD.tests.dist
==============================================================================
--- stable/11/etc/mtree/BSD.tests.dist Tue Jul 18 08:23:21 2017 (r321113)
+++ stable/11/etc/mtree/BSD.tests.dist Tue Jul 18 08:23:47 2017 (r321114)
@@ -332,6 +332,8 @@
..
librt
..
+ libsbuf
+ ..
libthr
dlopen
..
Modified: stable/11/lib/libsbuf/Makefile
==============================================================================
--- stable/11/lib/libsbuf/Makefile Tue Jul 18 08:23:21 2017 (r321113)
+++ stable/11/lib/libsbuf/Makefile Tue Jul 18 08:23:47 2017 (r321114)
@@ -10,6 +10,10 @@ SHLIB_MAJOR = 6
SYMBOL_MAPS= ${.CURDIR}/Symbol.map
VERSION_DEF= ${.CURDIR}/Version.def
+.include <src.opts.mk>
+
.PATH: ${SRCTOP}/sys/kern
+
+SUBDIR.${MK_TESTS}+= tests
.include <bsd.lib.mk>
More information about the svn-src-stable-11
mailing list