From e14d43e58f26960c90bd4a644f103a26186f7b04 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Tue, 29 Nov 2022 13:55:27 +0100 Subject: 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 --- tests/gensquashfs/Makemodule.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/gensquashfs/Makemodule.am') 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 -- cgit v1.2.3