summaryrefslogtreecommitdiffstats
path: root/test/test_state.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-11-12 17:54:13 -0500
committerDavid Robillard <d@drobilla.net>2022-11-16 10:22:55 -0500
commitdd5e8510cb40b853a5d252084660dc38aab7c665 (patch)
tree95245a5209501cb496b273dbca996458f8ed7152 /test/test_state.c
parentff9f776a48cdca700468f9d5a93625979d77e745 (diff)
downloadlilv-dd5e8510cb40b853a5d252084660dc38aab7c665.tar.gz
lilv-dd5e8510cb40b853a5d252084660dc38aab7c665.tar.bz2
lilv-dd5e8510cb40b853a5d252084660dc38aab7c665.zip
Use zix_canonical_path()
Diffstat (limited to 'test/test_state.c')
-rw-r--r--test/test_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_state.c b/test/test_state.c
index 97567a2..78a4e5d 100644
--- a/test/test_state.c
+++ b/test/test_state.c
@@ -118,7 +118,7 @@ create_test_directories(void)
/* On MacOS, temporary directories from mkdtemp involve symlinks, so
resolve it here so that path comparisons in tests work. */
- dirs.top = lilv_path_canonical(top);
+ dirs.top = zix_canonical_path(NULL, top);
dirs.shared = zix_path_join(NULL, dirs.top, "shared");
dirs.scratch = zix_path_join(NULL, dirs.shared, "scratch");
dirs.copy = zix_path_join(NULL, dirs.shared, "copy");