Lines Matching refs:path
484 const char *path, const char *name)
489 path__join(filename, sizeof(filename), path, name);
507 static const char *shell_tests__dir(char *path, size_t size)
516 scnprintf(path, size, "%s/shell", devel_dirs[i]);
518 return path;
522 /* Then installed path. */
524 scnprintf(path, size, "%s/tests/shell", exec_path);
526 return path;
534 const char *path = shell_tests__dir(path_dir, sizeof(path_dir));
537 if (path == NULL)
540 dir = opendir(path);
544 for_each_shell_test(dir, path, ent) {
546 const char *desc = shell_test__description(bf, sizeof(bf), path, ent->d_name);
718 const char *path = shell_tests__dir(path_dir, sizeof(path_dir));
720 if (path == NULL)
723 dir = opendir(path);
727 for_each_shell_test(dir, path, ent) {
731 .desc = shell_test__description(bf, sizeof(bf), path, ent->d_name),