aboutsummaryrefslogtreecommitdiff
path: root/lib/libsbuf/tests/Makefile
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-04-06 05:29:28 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-04-06 05:29:28 +0000
commitb824378b14dc700ea6eb97ba7eec3c65222190ae (patch)
tree05ad49ca8994df0da1af65b6a8c28073e3dbe3c7 /lib/libsbuf/tests/Makefile
parent128668745b3600292cf0b48d736b5e48cdfe33f9 (diff)
downloadsrc-b824378b14dc700ea6eb97ba7eec3c65222190ae.tar.gz
src-b824378b14dc700ea6eb97ba7eec3c65222190ae.zip
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. MFC after: 2 months Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=316557
Diffstat (limited to 'lib/libsbuf/tests/Makefile')
-rw-r--r--lib/libsbuf/tests/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/libsbuf/tests/Makefile b/lib/libsbuf/tests/Makefile
new file mode 100644
index 000000000000..d3532f01b7b6
--- /dev/null
+++ b/lib/libsbuf/tests/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+ATF_TESTS_C+= sbuf_core_test
+ATF_TESTS_C+= sbuf_stdio_test
+ATF_TESTS_C+= sbuf_string_test
+
+LIBADD+= sbuf util
+
+WARNS?= 6
+
+.include <bsd.test.mk>