aboutsummaryrefslogtreecommitdiff
path: root/tests/gensquashfs/Makemodule.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-11-29 13:55:27 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-11-29 13:55:27 +0100
commite14d43e58f26960c90bd4a644f103a26186f7b04 (patch)
treec8eb7bfc848f05adc0f9fbfdb69de61ddbfd6199 /tests/gensquashfs/Makemodule.am
parenta487eec3e3e7c1c5552d17acd0db8cd5dcc59fc7 (diff)
Add dummy hierarchy for fstree_from_dir test
Instead of abusing the directory tree of another test case, add a proper dummy hierarchy. This also fixes issues with parallel tests, where another test generates squashfs images in the target path. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/gensquashfs/Makemodule.am')
-rw-r--r--tests/gensquashfs/Makemodule.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/gensquashfs/Makemodule.am b/tests/gensquashfs/Makemodule.am
index c1ab164..70dc375 100644
--- a/tests/gensquashfs/Makemodule.am
+++ b/tests/gensquashfs/Makemodule.am
@@ -28,7 +28,7 @@ test_fstree_from_dir_SOURCES = tests/gensquashfs/fstree_from_dir.c \
bin/gensquashfs/fstree_from_dir.c \
bin/gensquashfs/mkfs.h
test_fstree_from_dir_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/bin/gensquashfs
-test_fstree_from_dir_CPPFLAGS += -DTESTPATH=$(top_srcdir)/tests/libtar/data
+test_fstree_from_dir_CPPFLAGS += -DTESTPATH=$(GENDATADIR)/testdir
test_fstree_from_dir_LDADD = libfstree.a libutil.a libcompat.a
test_sort_file_SOURCES = tests/gensquashfs/sort_file.c \
@@ -60,3 +60,4 @@ endif
EXTRA_DIST += $(GENDATADIR)/xattr1.txt $(GENDATADIR)/fstree1.txt
EXTRA_DIST += $(GENDATADIR)/fstree_glob1.txt $(GENDATADIR)/fstree_glob2.txt
EXTRA_DIST += $(GENDATADIR)/fstree_glob3.txt
+EXTRA_DIST += $(GENDATADIR)/testdir