fs-util: drop readlink_and_canonicalize()

This commit is contained in:
Yu Watanabe
2018-02-09 16:49:54 +09:00
parent 996def17f9
commit 842e456e79
3 changed files with 1 additions and 25 deletions
+1 -1
View File
@@ -146,7 +146,7 @@ static void test_copy_tree(void) {
assert_se((f = strjoin(original_dir, *p)));
assert_se((l = strjoin(copy_dir, *link)));
assert_se(readlink_and_canonicalize(l, NULL, &target) == 0);
assert_se(chase_symlinks(l, NULL, 0, &target) == 1);
assert_se(path_equal(f, target));
}