Home
last modified time | relevance | path

Searched refs:atf_dynstr_cstring (Results 1 – 10 of 10) sorted by relevance

/NextBSD/contrib/atf/atf-c/detail/
HDdynstr_test.c57 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "") == 0); in ATF_TC_BODY()
83 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 1") == 0); in ATF_TC_BODY()
87 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 2") == 0); in ATF_TC_BODY()
91 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 3") == 0); in ATF_TC_BODY()
96 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), in ATF_TC_BODY()
113 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 1") == 0); in ATF_TC_BODY()
117 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 2") == 0); in ATF_TC_BODY()
121 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 3") == 0); in ATF_TC_BODY()
127 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), in ATF_TC_BODY()
145 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "") == 0); in ATF_TC_BODY()
[all …]
HDfs.c184 strcpy(str, atf_dynstr_cstring(&p->m_data)); in copy_contents()
404 dirname(atf_dynstr_cstring(&p->m_data)))); in atf_fs_path_branch_path()
413 return atf_dynstr_cstring(&p->m_data); in atf_fs_path_cstring()
431 basename(atf_dynstr_cstring(&p->m_data)))); in atf_fs_path_leaf_name()
440 return atf_dynstr_cstring(&p->m_data)[0] == '/'; in atf_fs_path_is_absolute()
464 const char *auxstr = atf_dynstr_cstring(&aux); in atf_fs_path_append_ap()
492 return atf_fs_path_append_fmt(p, "%s", atf_dynstr_cstring(&p2->m_data)); in atf_fs_path_append_path()
HDdynstr.h62 const char *atf_dynstr_cstring(const atf_dynstr_t *);
HDtest_helpers.c53 optargs[0] = atf_dynstr_cstring(&iflag); in build_check_c_o()
HDdynstr.c295 atf_dynstr_cstring(const atf_dynstr_t *ad) in atf_dynstr_cstring() function
HDfs_test.c312 printf("Output : %s\n", atf_dynstr_cstring(&ln)); in ATF_TC_BODY()
/NextBSD/contrib/atf/atf-c/
HDutils.c218 ATF_REQUIRE(write(fd, atf_dynstr_cstring(&formatted), in atf_utils_create_file()
265 atf_utils_redirect(STDOUT_FILENO, atf_dynstr_cstring(&out_name)); in atf_utils_fork()
266 atf_utils_redirect(STDERR_FILENO, atf_dynstr_cstring(&err_name)); in atf_utils_fork()
313 found = grep_string(atf_dynstr_cstring(&formatted), line); in atf_utils_grep_file()
343 res = grep_string(atf_dynstr_cstring(&formatted), str); in atf_utils_grep_string()
427 atf_utils_cat_file(atf_dynstr_cstring(&out_name), "subprocess stdout: "); in atf_utils_wait()
428 atf_utils_cat_file(atf_dynstr_cstring(&err_name), "subprocess stderr: "); in atf_utils_wait()
438 atf_utils_copy_file(atf_dynstr_cstring(&out_name), in atf_utils_wait()
441 ATF_REQUIRE(atf_utils_compare_file(atf_dynstr_cstring(&out_name), in atf_utils_wait()
447 atf_utils_copy_file(atf_dynstr_cstring(&err_name), in atf_utils_wait()
[all …]
HDtc.c178 r = atf_dynstr_cstring(reason); in write_resfile()
194 reason == NULL ? "null" : atf_dynstr_cstring(reason)); in write_resfile()
282 atf_dynstr_cstring(&ctx->expect_reason))); in expected_failure()
297 "expecting one; reason was %s", atf_dynstr_cstring(reason)); in fail_requirement()
307 atf_dynstr_cstring(&ctx->expect_reason), in fail_check()
308 atf_dynstr_cstring(reason)); in fail_check()
311 fprintf(stderr, "*** Check failed: %s\n", atf_dynstr_cstring(reason)); in fail_check()
315 "expecting one; reason was %s", atf_dynstr_cstring(reason)); in fail_check()
HDutils_test.c252 read_file(atf_dynstr_cstring(&out_name), buffer, sizeof(buffer)); in ATF_TC_BODY()
254 read_file(atf_dynstr_cstring(&err_name), buffer, sizeof(buffer)); in ATF_TC_BODY()
/NextBSD/contrib/atf/atf-c++/detail/
Dfs.cpp196 std::string s(atf_dynstr_cstring(&ln)); in leaf_name()