Enji Cooper
|
f31a4fc86c
|
:dnvlist_get_string__default_value: fix a bogus string comparison test
Check actual_value vs "5", not "5" vs itself.
MFC after: 3 days
Reported by: Coverity
CID: 1362021
Sponsored by: Dell EMC Isilon
|
2017-05-29 19:02:52 +00:00 |
|
Enji Cooper
|
2c6778ed5b
|
lib/libnv/tests/dnv_test: fix memory leaks for memory allocated via
either strdup or one of the dnvlist* libcalls.
Reported by: Coverity
CID: 1362056-1362060
Sponsored by: Dell EMC Isilon
|
2017-05-29 18:34:45 +00:00 |
|
Enji Cooper
|
93ef13b5e0
|
Add sys/types.h for for size_t, etc
stable/10 requires it due to header pollution
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
|
2016-01-03 11:22:15 +00:00 |
|
Mariusz Zaborski
|
c36e54bb32
|
Let the nv.h and dnv.h includes be only in sys directory.
Change consumers to include those files from sys.
Add duplicated files to ObsoleteFiles.
Approved by: pjd (mentor)
|
2015-07-02 21:58:10 +00:00 |
|
Mariusz Zaborski
|
37c6848ce6
|
Remove the use of nvlist_.*[fv] functions from tests.
Approved by: pjd (mentor)
|
2015-04-29 22:46:18 +00:00 |
|
Dimitry Andric
|
bf5d6cf0a9
|
Fix lib/libnv tests compilation with -std=c++11, by adding appropriate
casts for NULL to invocations of the ATF_REQUIER_EQ() macro.
Reviewed by: rstone, jmmv
Differential Revision: https://reviews.freebsd.org/D2027
|
2015-03-08 00:30:52 +00:00 |
|
Ryan Stone
|
7e15db629c
|
Add tests for dnvlist_take_*
Differential Revision: https://reviews.freebsd.org/D1876
Reviewed by: jfv, pjd
MFC after: 1 month
Sponsored by: Sandvine Inc.
|
2015-03-01 00:22:03 +00:00 |
|
Ryan Stone
|
3d1b7ccbd3
|
Add tests for dnv_get_*
Differential Revision: https://reviews.freebsd.org/D1875
Reviewed by: jfv, pjd
MFC after: 1 month
Sponsored by: Sandvine Inc.
|
2015-03-01 00:21:56 +00:00 |
|