]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit - etc/mtree/BSD.tests.dist
MFC r316557:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 18 Jul 2017 08:23:21 +0000 (08:23 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 18 Jul 2017 08:23:21 +0000 (08:23 +0000)
commita78c3465409f9ad6c2aad50e539afddf7253e942
tree8c8a8833fcdb049b08783c40e2153193af9279fa
parentaff08024017d7dd73b64d51b3503de7026c395b0
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.

git-svn-id: svn://svn.freebsd.org/base/stable/10@321113 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
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]