summaryrefslogtreecommitdiffstats
path: root/test/test_filesystem.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-11-12 18:10:14 -0500
committerDavid Robillard <d@drobilla.net>2022-11-16 10:22:55 -0500
commit6fe4c50fee3adf77f9ef18e89445a043db281eb8 (patch)
tree2a8872aba4075b0abd8c0a6d8a9001dcdcab0b16 /test/test_filesystem.c
parentd9feb39a41cf3d0dfc4c797f1a7aee99d8609c16 (diff)
downloadlilv-6fe4c50fee3adf77f9ef18e89445a043db281eb8.tar.gz
lilv-6fe4c50fee3adf77f9ef18e89445a043db281eb8.tar.bz2
lilv-6fe4c50fee3adf77f9ef18e89445a043db281eb8.zip
Remove filesystem module
Diffstat (limited to 'test/test_filesystem.c')
-rw-r--r--test/test_filesystem.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/test/test_filesystem.c b/test/test_filesystem.c
deleted file mode 100644
index 2afbfda..0000000
--- a/test/test_filesystem.c
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2020 David Robillard <d@drobilla.net>
-// SPDX-License-Identifier: ISC
-
-#undef NDEBUG
-
-#include "../src/filesystem.h"
-
-#include <assert.h>
-
-static void
-test_path_is_child(void)
-{
- assert(lilv_path_is_child("/a/b", "/a"));
- assert(lilv_path_is_child("/a/b", "/a/"));
- assert(lilv_path_is_child("/a/b/", "/a"));
- assert(lilv_path_is_child("/a/b/", "/a/"));
-
- assert(!lilv_path_is_child("/a/b", "/a/c"));
- assert(!lilv_path_is_child("/a/b", "/a/c/"));
- assert(!lilv_path_is_child("/a/b/", "/a/c"));
- assert(!lilv_path_is_child("/a/b/", "/a/c/"));
-
- assert(!lilv_path_is_child("/a/b", "/c"));
- assert(!lilv_path_is_child("/a/b", "/c/"));
- assert(!lilv_path_is_child("/a/b/", "/c"));
- assert(!lilv_path_is_child("/a/b/", "/c/"));
-}
-
-int
-main(void)
-{
- test_path_is_child();
-
- return 0;
-}