freebsd-dev/lib/libnv/tests
Ryan Stone a87e516267 Add function to force an nvlist into the error state
Add an nvlist_set_error() function that can be used to force an
nvlist into the error state.  This is useful both for writing
tests and for writing APIs that use nvlists internally.

Differential Revision:		https://reviews.freebsd.org/D1878
Reviewed by:			pjd, jfv
MFC After:			1 month
Sponsored by:			Sandvine Inc.
2015-03-01 00:22:23 +00:00
..
dnv_tests.cc Add tests for dnvlist_take_* 2015-03-01 00:22:03 +00:00
Makefile Add tests for dnv_get_* 2015-03-01 00:21:56 +00:00
nv_tests.cc Add function to force an nvlist into the error state 2015-03-01 00:22:23 +00:00
nvlist_add_test.c
nvlist_exists_test.c
nvlist_free_test.c
nvlist_get_test.c
nvlist_move_test.c
nvlist_send_recv_test.c Extend the unit test to fix the bug caught in r277925 2015-03-01 00:22:09 +00:00