summaryrefslogtreecommitdiffstats
path: root/test/test_state.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-06 16:36:59 +0200
committerDavid Robillard <d@drobilla.net>2020-08-06 21:35:16 +0200
commit1dd3439bb66eae7b61a3ce22b72ae8668fec1b58 (patch)
tree24e954d205a691cae8ba3ccfb3da64a184ea247e /test/test_state.c
parentdb8a69a52e6dd5c9529537fb1e17489ee883e48c (diff)
downloadlilv-1dd3439bb66eae7b61a3ce22b72ae8668fec1b58.tar.gz
lilv-1dd3439bb66eae7b61a3ce22b72ae8668fec1b58.tar.bz2
lilv-1dd3439bb66eae7b61a3ce22b72ae8668fec1b58.zip
Add lilv_remove()
Diffstat (limited to 'test/test_state.c')
-rw-r--r--test/test_state.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test_state.c b/test/test_state.c
index acca4e9..5a2e5cb 100644
--- a/test/test_state.c
+++ b/test/test_state.c
@@ -32,7 +32,6 @@
# define mkdir(path, flags) _mkdir(path)
#else
# include <sys/stat.h>
-# include <unistd.h>
#endif
#include <assert.h>
@@ -561,7 +560,7 @@ main(void)
lilv_state_free(fstate7);
lilv_state_free(fstate72);
- rmdir("state");
+ lilv_remove("state");
// Free URI map
for (size_t i = 0; i < n_uris; ++i) {