summaryrefslogtreecommitdiff
path: root/tests/Makemodule.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-08-25 13:46:21 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-08-25 13:47:25 +0200
commite5fa4cdfb0469ed615d0f778b95b0755bfd7c9ca (patch)
tree4609e87431a8954273a989f11474d503053854b9 /tests/Makemodule.am
parent14f02a946b875459db8b4290d316e7a99c6d9f75 (diff)
Add minimal test program for fuzzing the fstree_from_file parser
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/Makemodule.am')
-rw-r--r--tests/Makemodule.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Makemodule.am b/tests/Makemodule.am
index 67f5642..f84852a 100644
--- a/tests/Makemodule.am
+++ b/tests/Makemodule.am
@@ -82,6 +82,9 @@ if HAVE_PTHREAD
test_blk_proc_order_CPPFLAGS += -DHAVE_PTHREAD
endif
+fstree_fuzz_SOURCES = tests/fstree_fuzz.c
+fstree_fuzz_LDADD = libfstree.a libutil.a
+
check_PROGRAMS += test_canonicalize_name test_mknode_simple test_mknode_slink
check_PROGRAMS += test_mknode_reg test_mknode_dir test_gen_inode_table
check_PROGRAMS += test_add_by_path test_get_path test_fstree_sort
@@ -91,6 +94,8 @@ check_PROGRAMS += test_tar_sparse_gnu1 test_tar_sparse_gnu2
check_PROGRAMS += test_tar_xattr_bsd test_tar_xattr_schily test_str_table
check_PROGRAMS += test_blk_proc_order
+noinst_PROGRAMS += fstree_fuzz
+
TESTS += test_canonicalize_name test_mknode_simple test_mknode_slink
TESTS += test_mknode_reg test_mknode_dir test_gen_inode_table
TESTS += test_add_by_path test_get_path test_fstree_sort test_fstree_from_file