Lines Matching refs:teststr
355 nvlist_add_string(testnvl[i], "nvl/nvl/teststr", somestr[i]);
440 ATF_REQUIRE(nvlist_exists_string(nvl, "nvl/nvl/teststr"));
441 ATF_REQUIRE(strcmp(nvlist_get_string(nvl, "nvl/nvl/teststr"),
495 char **teststr;
509 teststr = (char**)malloc(sizeof(*teststr) * count);
510 ATF_REQUIRE(teststr != NULL);
512 teststr[i] = (char*)malloc(sizeof(**teststr) * 2);
513 ATF_REQUIRE(teststr[i] != NULL);
514 teststr[i][0] = 'a' + i;
515 teststr[i][1] = '\0';
518 nvlist_move_string_array(nvl, key, teststr, count);
526 ATF_REQUIRE((intptr_t)const_result == (intptr_t)teststr);