Lines Matching refs:atf_fs_path_cstring
77 return access(atf_fs_path_cstring(p), F_OK) == 0;
137 printf("Output : >%s<\n", atf_fs_path_cstring(&p));
138 ATF_REQUIRE(strcmp(atf_fs_path_cstring(&p), t->out) == 0);
276 printf("Output : %s\n", atf_fs_path_cstring(&bp));
277 ATF_REQUIRE(strcmp(atf_fs_path_cstring(&bp), t->branch) == 0);
357 printf("Output : >%s<\n", atf_fs_path_cstring(&p));
358 ATF_REQUIRE(strcmp(atf_fs_path_cstring(&p), t->out) == 0);
385 printf("Relative path: %s\n", atf_fs_path_cstring(&p));
388 printf("Absolute path: %s\n", atf_fs_path_cstring(&p2));
578 create_dir(atf_fs_path_cstring(&pdir), 0755);
579 create_file(atf_fs_path_cstring(&pfile), 0644);
595 ATF_REQUIRE(chmod(atf_fs_path_cstring(&pdir), 0000) != -1);
599 ATF_REQUIRE(chmod(atf_fs_path_cstring(&pdir), 0755) != -1);
604 ATF_REQUIRE(unlink(atf_fs_path_cstring(&pfile)) != -1);
679 create_file(atf_fs_path_cstring(&p), 0000);
680 ATF_REQUIRE(chown(atf_fs_path_cstring(&p), geteuid(), getegid()) != -1);
689 ATF_REQUIRE(chmod(atf_fs_path_cstring(&p), t->fmode) != -1);
887 ATF_CHECK(strcmp(atf_fs_path_cstring(&p), "dir/testdir.XXXXXX") == 0);
1020 ATF_CHECK(strcmp(atf_fs_path_cstring(&p), "dir/testfile.XXXXXX") == 0);