diff options
author | David Robillard <d@drobilla.net> | 2020-08-06 16:36:59 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-06 21:35:16 +0200 |
commit | 1dd3439bb66eae7b61a3ce22b72ae8668fec1b58 (patch) | |
tree | 24e954d205a691cae8ba3ccfb3da64a184ea247e /test/lilv_test_utils.c | |
parent | db8a69a52e6dd5c9529537fb1e17489ee883e48c (diff) | |
download | lilv-1dd3439bb66eae7b61a3ce22b72ae8668fec1b58.tar.gz lilv-1dd3439bb66eae7b61a3ce22b72ae8668fec1b58.tar.bz2 lilv-1dd3439bb66eae7b61a3ce22b72ae8668fec1b58.zip |
Add lilv_remove()
Diffstat (limited to 'test/lilv_test_utils.c')
-rw-r--r-- | test/lilv_test_utils.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/test/lilv_test_utils.c b/test/lilv_test_utils.c index def3eca..cfc5c4f 100644 --- a/test/lilv_test_utils.c +++ b/test/lilv_test_utils.c @@ -24,13 +24,6 @@ #include "lilv/lilv.h" #include "serd/serd.h" -#ifdef _WIN32 -# include <direct.h> -# define mkdir(path, flags) _mkdir(path) -#else -# include <unistd.h> -#endif - #include <errno.h> #include <stdbool.h> #include <stdint.h> @@ -153,11 +146,11 @@ void delete_bundle(LilvTestEnv* env) { if (env->test_content_path) { - unlink(env->test_content_path); + lilv_remove(env->test_content_path); } if (env->test_manifest_path) { - unlink(env->test_manifest_path); + lilv_remove(env->test_manifest_path); } if (env->test_bundle_path) { |