1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00

libnv: add regression test for r335344.

This commit is contained in:
Mariusz Zaborski 2018-06-18 22:22:06 +00:00
parent c11c5fb874
commit 8f2285b26d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335345

View File

@ -312,6 +312,7 @@ ATF_TEST_CASE_BODY(nvlist_nvlist_array__basic)
for (i = 0; i < num_items; i++) {
ATF_REQUIRE_EQ(nvlist_error(result[i]), 0);
ATF_REQUIRE(nvlist_get_array_next(result[i]) == NULL);
ATF_REQUIRE(nvlist_get_parent(result[i], NULL) == NULL);
ATF_REQUIRE(nvlist_get_array_next(const_result[i]) == NULL);
ATF_REQUIRE(!nvlist_in_array(const_result[i]));
}