<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libnv/tests, branch releng/12.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2018-06-18T22:57:32Z</updated>
<entry>
<title>libnv: Add nvlist_append_*_array() family of functions.</title>
<updated>2018-06-18T22:57:32Z</updated>
<author>
<name>Mariusz Zaborski</name>
<email>oshogbo@FreeBSD.org</email>
</author>
<published>2018-06-18T22:57:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=24881c060c7b91335603f9a042eeb0bebe550d12'/>
<id>urn:sha1:24881c060c7b91335603f9a042eeb0bebe550d12</id>
<content type='text'>
The nvlist_append_{bool,number,string,nvlist,descriptor}_array() functions
allows to dynamically extend array stored in the nvlist.

Submitted by:	Mindaugas Rasiukevicius &lt;rmind@netbsd.org&gt;
</content>
</entry>
<entry>
<title>libnv: add regression test for r335344.</title>
<updated>2018-06-18T22:22:06Z</updated>
<author>
<name>Mariusz Zaborski</name>
<email>oshogbo@FreeBSD.org</email>
</author>
<published>2018-06-18T22:22:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8f2285b26d68bc35aa0a5d4a0a5c0d901cbb363c'/>
<id>urn:sha1:8f2285b26d68bc35aa0a5d4a0a5c0d901cbb363c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>libnv: Remove nvlist argument from cnvlist_{take,free}_* functions.</title>
<updated>2018-06-18T21:26:58Z</updated>
<author>
<name>Mariusz Zaborski</name>
<email>oshogbo@FreeBSD.org</email>
</author>
<published>2018-06-18T21:26:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d82e41b6b82113e242b02f7a0193c6e6b26d495f'/>
<id>urn:sha1:d82e41b6b82113e242b02f7a0193c6e6b26d495f</id>
<content type='text'>
All information which are need for those operations is already stored in
the cookie.

We decided not to bump libnv version because this API is not used yet in the
base system.

Reviewed by:	pjd
</content>
</entry>
<entry>
<title>DIRDEPS_BUILD: Update dependencies.</title>
<updated>2017-10-31T00:07:04Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2017-10-31T00:07:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ea825d02749f382c3f7e17f28247f20a48733eab'/>
<id>urn:sha1:ea825d02749f382c3f7e17f28247f20a48733eab</id>
<content type='text'>
Sponsored by:	Dell EMC Isilon
</content>
</entry>
<entry>
<title>:dnvlist_get_string__default_value: fix a bogus string comparison test</title>
<updated>2017-05-29T19:02:52Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-05-29T19:02:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f31a4fc86c806af33402006da4fdc4bcf0b7a078'/>
<id>urn:sha1:f31a4fc86c806af33402006da4fdc4bcf0b7a078</id>
<content type='text'>
Check actual_value vs "5", not "5" vs itself.

MFC after:	3 days
Reported by:	Coverity
CID:		1362021
Sponsored by:	Dell EMC Isilon
</content>
</entry>
<entry>
<title>:nvlist_unpack__duplicate_key : check the result of nvlist_pack(3)</title>
<updated>2017-05-29T18:39:28Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-05-29T18:39:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6399b5e03a662a6fd31324942b7d53f73028e0b7'/>
<id>urn:sha1:6399b5e03a662a6fd31324942b7d53f73028e0b7</id>
<content type='text'>
This fixes a potential NULL pointer dereference.

MFC after:	3 days
Reported by:	Coverity
CID:		1362051
Sponsored by:	Dell EMC Isilon
</content>
</entry>
<entry>
<title>lib/libnv/tests/dnv_test: fix memory leaks for memory allocated via</title>
<updated>2017-05-29T18:34:45Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-05-29T18:34:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2c6778ed5bb8af8ad3b4b6668b9194ca94cf1b9b'/>
<id>urn:sha1:2c6778ed5bb8af8ad3b4b6668b9194ca94cf1b9b</id>
<content type='text'>
either strdup or one of the dnvlist* libcalls.

Reported by:	Coverity
CID:		1362056-1362060
Sponsored by:	Dell EMC Isilon
</content>
</entry>
<entry>
<title>Fix style issue in the cnv API.</title>
<updated>2016-08-27T13:40:27Z</updated>
<author>
<name>Mariusz Zaborski</name>
<email>oshogbo@FreeBSD.org</email>
</author>
<published>2016-08-27T13:40:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=736bc737968c5b3442dc33946cc4943dbed8cc59'/>
<id>urn:sha1:736bc737968c5b3442dc33946cc4943dbed8cc59</id>
<content type='text'>
Remove unused arguments in a macro.
Remove unused typedef.
</content>
</entry>
<entry>
<title>Add cnv API.</title>
<updated>2016-08-27T13:37:30Z</updated>
<author>
<name>Mariusz Zaborski</name>
<email>oshogbo@FreeBSD.org</email>
</author>
<published>2016-08-27T13:37:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5ef231f6f7bd3487ce4dccc2e818d38b32b16d93'/>
<id>urn:sha1:5ef231f6f7bd3487ce4dccc2e818d38b32b16d93</id>
<content type='text'>
cnv API is a set of functions for managing name/value pairs by cookie.
The cookie can be obtained by nvlist_next(), nvlist_get_parent() or
nvlist_get_pararr() function. This patch also includes unit tests.

Submitted by:	Adam Starak &lt;starak.adam@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed</title>
<updated>2016-05-04T23:20:53Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2016-05-04T23:20:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=430f7286a566b1407c7b32ce13585caf5aa59b92'/>
<id>urn:sha1:430f7286a566b1407c7b32ce13585caf5aa59b92</id>
<content type='text'>
after r298107

Summary of changes:

- Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that
  namespacing is kept with FILES appropriately, and that this shouldn't need
  to be repeated if the namespace changes -- only the definition of PACKAGE
  needs to be changed
- Allow PACKAGE to be overridden by callers instead of forcing it to always be
  `tests`. In the event we get to the point where things can be split up
  enough in the base system, it would make more sense to group the tests
  with the blocks they're a part of, e.g. byacc with byacc-tests, etc
- Remove PACKAGE definitions where possible, i.e. where FILES wasn't used
  previously.
- Remove unnecessary TESTSPACKAGE definitions; this has been elided into
  bsd.tests.mk
- Remove unnecessary BINDIRs used previously with ${PACKAGE}FILES;
  ${PACKAGE}FILESDIR is now automatically defined in bsd.test.mk.
- Fix installation of files under data/ subdirectories in lib/libc/tests/hash
  and lib/libc/tests/net/getaddrinfo
- Remove unnecessary .include &lt;bsd.own.mk&gt;s (some opportunistic cleanup)

Document the proposed changes in share/examples/tests/tests/... via examples
so it's clear that ${PACKAGES}FILES is the suggested way forward in terms of
replacing FILES. share/mk/bsd.README didn't seem like the appropriate method
of communicating that info.

MFC after: never probably
X-MFC with: r298107
PR: 209114
Relnotes: yes
Tested with: buildworld, installworld, checkworld; buildworld, packageworld
Sponsored by: EMC / Isilon Storage Division
</content>
</entry>
</feed>
