Searched defs:file2 (Results 1 - 1 of 1) sorted by relevance

/systemd/src/test/
H A Dtest-path-util.c302 _cleanup_free_ char *file1 = NULL, *file2 = NULL, *link1 = NULL, *link2 = NULL; local
321 * <tmp>/file1, <tmp>/file2
322 * <tmp>/link1 -> file1, <tmp>/link2 -> file2
335 file2 = path_join(NULL, tmp_dir, "file2");
336 assert_se(file2);
340 fd = open(file2, O_WRONLY|O_CREAT|O_EXCL|O_CLOEXEC, 0664);
348 assert_se(symlink("file2", link2) == 0);
387 if (mount(file1, file2, NULL, MS_BIND, NULL) >= 0) {
392 rf = path_is_mount_point(file2,
[all...]

Completed in 856 milliseconds