Lines Matching refs:testnvl
907 nvlist_t *testnvl[8]; in ATF_TEST_CASE_BODY() local
918 testnvl[i] = nvlist_create(0); in ATF_TEST_CASE_BODY()
919 ATF_REQUIRE(testnvl[i] != NULL); in ATF_TEST_CASE_BODY()
920 ATF_REQUIRE_EQ(nvlist_error(testnvl[i]), 0); in ATF_TEST_CASE_BODY()
921 ATF_REQUIRE(nvlist_empty(testnvl[i])); in ATF_TEST_CASE_BODY()
922 nvlist_add_string(testnvl[i], "nvl/string", somestr[i]); in ATF_TEST_CASE_BODY()
925 ATF_REQUIRE_EQ(strcmp("nvl/string", nvlist_next(testnvl[i], in ATF_TEST_CASE_BODY()
927 ATF_REQUIRE_EQ(nvlist_error(testnvl[i]), 0); in ATF_TEST_CASE_BODY()
929 ATF_REQUIRE(!nvlist_empty(testnvl[i])); in ATF_TEST_CASE_BODY()
930 ATF_REQUIRE(nvlist_exists(testnvl[i], "nvl/string")); in ATF_TEST_CASE_BODY()
931 ATF_REQUIRE(nvlist_exists_string(testnvl[i], "nvl/string")); in ATF_TEST_CASE_BODY()
932 ATF_REQUIRE_EQ(nvlist_next(testnvl[i], &type, &cookie), in ATF_TEST_CASE_BODY()
944 nvlist_add_nvlist_array(nvl, key, (const nvlist_t * const *)testnvl, 8); in ATF_TEST_CASE_BODY()
979 nvlist_destroy(testnvl[i]); in ATF_TEST_CASE_BODY()
1411 nvlist_t *testnvl[8]; in ATF_TEST_CASE_BODY() local
1420 testnvl[i] = nvlist_create(0); in ATF_TEST_CASE_BODY()
1421 ATF_REQUIRE(testnvl[i] != NULL); in ATF_TEST_CASE_BODY()
1422 ATF_REQUIRE_EQ(nvlist_error(testnvl[i]), 0); in ATF_TEST_CASE_BODY()
1423 ATF_REQUIRE(nvlist_empty(testnvl[i])); in ATF_TEST_CASE_BODY()
1424 nvlist_add_string(testnvl[i], "nvl/string", somestr[i]); in ATF_TEST_CASE_BODY()
1427 ATF_REQUIRE_EQ(strcmp("nvl/string", nvlist_next(testnvl[i], in ATF_TEST_CASE_BODY()
1429 ATF_REQUIRE_EQ(nvlist_error(testnvl[i]), 0); in ATF_TEST_CASE_BODY()
1431 ATF_REQUIRE(!nvlist_empty(testnvl[i])); in ATF_TEST_CASE_BODY()
1432 ATF_REQUIRE(nvlist_exists(testnvl[i], "nvl/string")); in ATF_TEST_CASE_BODY()
1433 ATF_REQUIRE(nvlist_exists_string(testnvl[i], "nvl/string")); in ATF_TEST_CASE_BODY()
1434 ATF_REQUIRE_EQ(nvlist_next(testnvl[i], &type, &cookie), in ATF_TEST_CASE_BODY()
1446 nvlist_add_nvlist_array(nvl, key, (const nvlist_t * const *)testnvl, 8); in ATF_TEST_CASE_BODY()
1469 nvlist_destroy(testnvl[i]); in ATF_TEST_CASE_BODY()