From 0f68ca18f491b4e53cec788b327a752cbeb43377 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 16 Nov 2022 10:45:30 +0100 Subject: filemap xattr: Add a test case Signed-off-by: David Oberhollenzer --- tests/gensquashfs/Makemodule.am | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/gensquashfs/Makemodule.am (limited to 'tests/gensquashfs/Makemodule.am') diff --git a/tests/gensquashfs/Makemodule.am b/tests/gensquashfs/Makemodule.am new file mode 100644 index 0000000..a20e6ef --- /dev/null +++ b/tests/gensquashfs/Makemodule.am @@ -0,0 +1,20 @@ +GENDATADIR=$(top_srcdir)/tests/gensquashfs + +test_filemap_xattr_SOURCES = tests/gensquashfs/filemap_xattr.c \ + bin/gensquashfs/filemap_xattr.c \ + bin/gensquashfs/mkfs.h +test_filemap_xattr_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/bin/gensquashfs +test_filemap_xattr_CPPFLAGS += -DTESTPATH=$(GENDATADIR)/xattr1.txt +test_filemap_xattr_LDADD = libsquashfs.la libfstree.a libutil.a +test_filemap_xattr_LDADD += libio.a libcompat.a + +GENSQUASHFS_TESTS = \ + test_filemap_xattr + +if BUILD_TOOLS +check_PROGRAMS += $(GENSQUASHFS_TESTS) +TESTS += $(GENSQUASHFS_TESTS) +endif + +EXTRA_DIST += $(GENDATADIR)/xattr1.txt + -- cgit v1.2.3