summaryrefslogtreecommitdiffstats
path: root/test/test_util.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-11-12 17:54:16 -0500
committerDavid Robillard <d@drobilla.net>2022-11-16 10:22:55 -0500
commit9374e4f1cafd8e48fbdcb455dc6fbdd958a52b67 (patch)
tree74a6acdf2df4ee2570786b55900291a1f06b153b /test/test_util.c
parentab98128551cc97e333caf714830f807bbe25bae7 (diff)
downloadlilv-9374e4f1cafd8e48fbdcb455dc6fbdd958a52b67.tar.gz
lilv-9374e4f1cafd8e48fbdcb455dc6fbdd958a52b67.tar.bz2
lilv-9374e4f1cafd8e48fbdcb455dc6fbdd958a52b67.zip
Use zix_remove()
Diffstat (limited to 'test/test_util.c')
-rw-r--r--test/test_util.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/test_util.c b/test/test_util.c
index 529719e..c228b8f 100644
--- a/test/test_util.c
+++ b/test/test_util.c
@@ -6,6 +6,7 @@
#include "../src/filesystem.h"
#include "lilv/lilv.h"
+#include "zix/filesystem.h"
#include "zix/path.h"
#include <assert.h>
@@ -29,9 +30,9 @@ main(void)
assert(lilv_copy_file(a_path, "not/a/dir/copy"));
assert(!lilv_copy_file(a_path, "copy_c"));
- assert(!lilv_remove(a_path));
- assert(!lilv_remove(b_path));
- assert(!lilv_remove(dir));
+ assert(!zix_remove(a_path));
+ assert(!zix_remove(b_path));
+ assert(!zix_remove(dir));
lilv_free(b_path);
lilv_free(a_path);