Lines Matching refs:tmp
211 char *tmp;
249 tmp = talloc_asprintf(test_ctx, "%s/bar", dst_path);
250 ret = check_and_open_readonly(tmp, &fd, uid, gid, S_IFREG|S_IRWXU, 0);
251 fail_unless(ret == EOK, "Cannot open %s\n", tmp);
253 talloc_free(tmp);
304 char *tmp;
335 tmp = talloc_asprintf(test_ctx, "%s/foolink", dst_path);
336 ret = lstat(tmp, &statbuf);
337 fail_unless(ret == 0, "cannot stat the symlink %s\n", tmp);
338 fail_unless(S_ISLNK(statbuf.st_mode), "%s not a symlink?\n", tmp);
339 talloc_free(tmp);
347 char *tmp;
374 tmp = talloc_asprintf(test_ctx, "%s/testnode", dst_path);
375 ret = access(tmp, F_OK);
376 fail_unless(ret == -1, "special file %s exists, it shouldn't\n", tmp);
377 talloc_free(tmp);