Lines Matching defs:dst_path
42 static char *dst_path;
53 dst_path = mkdtemp(talloc_asprintf(test_ctx, "%s/%s", TESTS_PATH, tpl_dir));
72 if (dst_path && test_ctx) {
73 cmd = talloc_asprintf(test_ctx, "/bin/rm -rf %s\n", dst_path);
76 DEBUG(SSSDBG_CRIT_FAILURE, "Removing [%s] failed.\n", dst_path);
241 "Will copy from '%s' to '%s'\n", dir_path, dst_path);
242 ret = sss_copy_tree(dir_path, dst_path, 0700, uid, gid);
246 ret = access(dst_path, F_OK);
249 tmp = talloc_asprintf(test_ctx, "%s/bar", dst_path);
277 bar_path = talloc_asprintf(tmp_ctx, "%s/bar", dst_path);
327 "Will copy from '%s' to '%s'\n", dir_path, dst_path);
328 ret = sss_copy_tree(dir_path, dst_path, 0700, uid, gid);
332 ret = access(dst_path, F_OK);
335 tmp = talloc_asprintf(test_ctx, "%s/foolink", dst_path);
366 "Will copy from '%s' to '%s'\n", dir_path, dst_path);
367 ret = sss_copy_tree(dir_path, dst_path, 0700, uid, gid);
371 ret = access(dst_path, F_OK);
374 tmp = talloc_asprintf(test_ctx, "%s/testnode", dst_path);