Lines Matching refs:mountpath
67 lookup_simple(const atf_tc_t *tc, const char *mountpath)
72 strcpy(final, mountpath);
73 snprintf(pb, sizeof(pb), "%s/../%s", mountpath, basename(final));
77 snprintf(pb, sizeof(pb), "%s/./../%s", mountpath, basename(final));
85 lookup_complex(const atf_tc_t *tc, const char *mountpath)
93 snprintf(pb, sizeof(pb), "%s/dir", mountpath);
99 snprintf(pb, sizeof(pb), "%s/./dir/../././dir/.", mountpath);
156 dir_simple(const atf_tc_t *tc, const char *mountpath)
164 snprintf(pb, sizeof(pb), "%s/dir", mountpath);
178 do_dir_slash(const atf_tc_t *tc, const char *mountpath, const char *addend)
186 snprintf(plain, sizeof(plain), "%s/dir%s", mountpath, addend);
187 snprintf(with_slash, sizeof(with_slash), "%s/dir/", mountpath);
199 dir_slash(const atf_tc_t *tc, const char *mountpath)
201 do_dir_slash(tc, mountpath, "/");
205 dir_2slash(const atf_tc_t *tc, const char *mountpath)
207 do_dir_slash(tc, mountpath, "//");
211 dir_3slash(const atf_tc_t *tc, const char *mountpath)
213 do_dir_slash(tc, mountpath, "///");
217 dir_notempty(const atf_tc_t *tc, const char *mountpath)
225 snprintf(pb, sizeof(pb), "%s/dir", mountpath);
229 snprintf(pb2, sizeof(pb2), "%s/dir/file", mountpath);