aboutsummaryrefslogtreecommitdiff
path: root/tests/libsqfs/Makemodule.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-03-06 21:59:46 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-03-06 22:08:36 +0100
commitc86d4388c1b427f892670c290c8f28751313640a (patch)
tree87ff7c29fe8b977dc4e465cd37230277db2923e9 /tests/libsqfs/Makemodule.am
parent116c638b9d7bc9c34dfc90ab24cb2bec1e526ed7 (diff)
Add a simple test case for the xattr_writer_t
The test case basically adds a few key/value pairs and make sure they are deduplicated correctly, including a case where they are added in a different order and a case where the value is stored OOL. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/libsqfs/Makemodule.am')
-rw-r--r--tests/libsqfs/Makemodule.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/libsqfs/Makemodule.am b/tests/libsqfs/Makemodule.am
index cad473c..0ad19d9 100644
--- a/tests/libsqfs/Makemodule.am
+++ b/tests/libsqfs/Makemodule.am
@@ -4,8 +4,11 @@ test_abi_LDADD = libsquashfs.la
test_table_SOURCES = tests/libsqfs/table.c tests/test.h
test_table_LDADD = libsquashfs.la
+test_xattr_writer_SOURCES = tests/libsqfs/xattr_writer.c tests/test.h
+test_xattr_writer_LDADD = libsquashfs.la
+
LIBSQFS_TESTS = \
- test_abi test_table
+ test_abi test_table test_xattr_writer
check_PROGRAMS += $(LIBSQFS_TESTS)
TESTS += $(LIBSQFS_TESTS)