aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-01 14:11:51 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-01 14:11:51 +0200
commit79c333899d318bf9b1eec3837833c7f0229d1906 (patch)
treed31f6513d6284bcc8dc9a7ec8523ec2fdfa1944c /tests
parent3b43f166629efbb34e1b0ceeaa2f06452d0fed2f (diff)
Move some application specific stuff out of libutil
This commit does the following: - canonicalize_name is moved to libfstree - source_date_epoch is only used inside libfstree, so it's also moved over and can later be completely internalized - print_version is moved over to sqfshelper. Mainly so it doesn't end up in libsquashfs.so for no sane reason. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests')
-rw-r--r--tests/Makemodule.am2
-rw-r--r--tests/canonicalize_name.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/Makemodule.am b/tests/Makemodule.am
index b242bd2..4b17b34 100644
--- a/tests/Makemodule.am
+++ b/tests/Makemodule.am
@@ -1,5 +1,5 @@
test_canonicalize_name_SOURCES = tests/canonicalize_name.c
-test_canonicalize_name_LDADD = libutil.la
+test_canonicalize_name_LDADD = libfstree.a
test_mknode_simple_SOURCES = tests/mknode_simple.c
test_mknode_simple_LDADD = libfstree.a
diff --git a/tests/canonicalize_name.c b/tests/canonicalize_name.c
index 64ca766..d67bc1e 100644
--- a/tests/canonicalize_name.c
+++ b/tests/canonicalize_name.c
@@ -6,7 +6,7 @@
*/
#include "config.h"
-#include "util.h"
+#include "fstree.h"
#include <string.h>
#include <stdlib.h>