]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r316557:
authorngie <ngie@FreeBSD.org>
Tue, 18 Jul 2017 08:23:47 +0000 (08:23 +0000)
committerngie <ngie@FreeBSD.org>
Tue, 18 Jul 2017 08:23:47 +0000 (08:23 +0000)
commitf12a41556fa61ef5a6a5a46fa0c3f30fe41d86b9
treeda9abe1f0edce91dac9c4c16549fc7e207b8a12f
parent01becf82f4de9de9095f7264ea3cfdbb78b50c43
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.
etc/mtree/BSD.tests.dist
lib/libsbuf/Makefile
lib/libsbuf/tests/Makefile [new file with mode: 0644]
lib/libsbuf/tests/sbuf_core_test.c [new file with mode: 0644]
lib/libsbuf/tests/sbuf_stdio_test.c [new file with mode: 0644]
lib/libsbuf/tests/sbuf_string_test.c [new file with mode: 0644]
lib/libsbuf/tests/sbuf_test_common.h [new file with mode: 0644]