Lines Matching refs:testnvl
911 nvlist_t *testnvl[8]; in ATF_TEST_CASE_BODY() local
922 testnvl[i] = nvlist_create(0); in ATF_TEST_CASE_BODY()
923 ATF_REQUIRE(testnvl[i] != NULL); in ATF_TEST_CASE_BODY()
924 ATF_REQUIRE_EQ(nvlist_error(testnvl[i]), 0); in ATF_TEST_CASE_BODY()
925 ATF_REQUIRE(nvlist_empty(testnvl[i])); in ATF_TEST_CASE_BODY()
926 nvlist_add_string(testnvl[i], "nvl/string", somestr[i]); in ATF_TEST_CASE_BODY()
929 ATF_REQUIRE_EQ(strcmp("nvl/string", nvlist_next(testnvl[i], in ATF_TEST_CASE_BODY()
931 ATF_REQUIRE_EQ(nvlist_error(testnvl[i]), 0); in ATF_TEST_CASE_BODY()
933 ATF_REQUIRE(!nvlist_empty(testnvl[i])); in ATF_TEST_CASE_BODY()
934 ATF_REQUIRE(nvlist_exists(testnvl[i], "nvl/string")); in ATF_TEST_CASE_BODY()
935 ATF_REQUIRE(nvlist_exists_string(testnvl[i], "nvl/string")); in ATF_TEST_CASE_BODY()
936 ATF_REQUIRE_EQ(nvlist_next(testnvl[i], &type, &cookie), in ATF_TEST_CASE_BODY()
948 nvlist_add_nvlist_array(nvl, key, (const nvlist_t * const *)testnvl, 8); in ATF_TEST_CASE_BODY()
983 nvlist_destroy(testnvl[i]); in ATF_TEST_CASE_BODY()
1415 nvlist_t *testnvl[8]; in ATF_TEST_CASE_BODY() local
1424 testnvl[i] = nvlist_create(0); in ATF_TEST_CASE_BODY()
1425 ATF_REQUIRE(testnvl[i] != NULL); in ATF_TEST_CASE_BODY()
1426 ATF_REQUIRE_EQ(nvlist_error(testnvl[i]), 0); in ATF_TEST_CASE_BODY()
1427 ATF_REQUIRE(nvlist_empty(testnvl[i])); in ATF_TEST_CASE_BODY()
1428 nvlist_add_string(testnvl[i], "nvl/string", somestr[i]); in ATF_TEST_CASE_BODY()
1431 ATF_REQUIRE_EQ(strcmp("nvl/string", nvlist_next(testnvl[i], in ATF_TEST_CASE_BODY()
1433 ATF_REQUIRE_EQ(nvlist_error(testnvl[i]), 0); in ATF_TEST_CASE_BODY()
1435 ATF_REQUIRE(!nvlist_empty(testnvl[i])); in ATF_TEST_CASE_BODY()
1436 ATF_REQUIRE(nvlist_exists(testnvl[i], "nvl/string")); in ATF_TEST_CASE_BODY()
1437 ATF_REQUIRE(nvlist_exists_string(testnvl[i], "nvl/string")); in ATF_TEST_CASE_BODY()
1438 ATF_REQUIRE_EQ(nvlist_next(testnvl[i], &type, &cookie), in ATF_TEST_CASE_BODY()
1450 nvlist_add_nvlist_array(nvl, key, (const nvlist_t * const *)testnvl, 8); in ATF_TEST_CASE_BODY()
1473 nvlist_destroy(testnvl[i]); in ATF_TEST_CASE_BODY()