Searched refs:path1 (Results 1 – 2 of 2) sorted by relevance
30 path_common_prefix (char const *path1, char const *path2) in path_common_prefix() argument38 if ((path1[1] == '/') != (path2[1] == '/')) in path_common_prefix()41 while (*path1 && *path2) in path_common_prefix()43 if (*path1 != *path2) in path_common_prefix()45 if (*path1 == '/') in path_common_prefix()47 path1++; in path_common_prefix()52 if ((!*path1 && !*path2) in path_common_prefix()53 || (!*path1 && *path2 == '/') in path_common_prefix()54 || (!*path2 && *path1 == '/')) in path_common_prefix()
31 mkdir mnt/path1 || framework_failure_32 touch mnt/path1/file || framework_failure_34 cd path2 && ln -s ../mnt/path1/file || framework_failure_36 cp -dsf ../mnt/path1/file . || fail=1