From f00e3248cfa1bd64f68ffed932172f7a2fd2f9ec Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Fri, 9 Feb 2018 16:49:54 +0900 Subject: fs-util: drop readlink_and_canonicalize() --- src/test/test-copy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test') diff --git a/src/test/test-copy.c b/src/test/test-copy.c index 4cc070656..574c22611 100644 --- a/src/test/test-copy.c +++ b/src/test/test-copy.c @@ -147,7 +147,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)); } -- cgit v1.2.3