summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-02-09 16:49:54 +0900
committerSven Eden <yamakuzure@gmx.net>2018-05-30 07:58:51 +0200
commitf00e3248cfa1bd64f68ffed932172f7a2fd2f9ec (patch)
tree6cc88d56dd95ceb0823f096892740f6bf14891e8 /src/test
parentb29bf5c545345235220419ca7bc90079469b1acf (diff)
fs-util: drop readlink_and_canonicalize()
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-copy.c2
1 files changed, 1 insertions, 1 deletions
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));
}