diff options
-rw-r--r-- | test/lilv_test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/lilv_test.c b/test/lilv_test.c index 9a1c6c2..a9da0e7 100644 --- a/test/lilv_test.c +++ b/test/lilv_test.c @@ -53,7 +53,9 @@ void init_tests(void) { strncpy(bundle_dir_name, getenv("HOME"), 900); - strcat(bundle_dir_name, "/.lv2/lilv-test.lv2"); + strcat(bundle_dir_name, "/.lv2"); + mkdir(bundle_dir_name, 0700); + strcat(bundle_dir_name, "/lilv-test.lv2"); sprintf(bundle_dir_uri, "file://%s/", bundle_dir_name); sprintf(manifest_name, "%s/manifest.ttl", bundle_dir_name); sprintf(content_name, "%s/plugin.ttl", bundle_dir_name); |