From acdbae1723d1bc32d2e31d06ad76306af1749032 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Fri, 13 Dec 2019 12:29:42 +0100 Subject: Add a simplistic integration and regression test This test basically consists of the Canterbury Corpus which is turned into a SquashFS image using every supported compressor, with every supported block size, with and without tail end packing. The results MUST have an exact, given sha512sum. If that changes, it means either a regression in the output format, something broke or non-deterministic packing behaviour. Signed-off-by: David Oberhollenzer --- tests/Makemodule.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/Makemodule.am') diff --git a/tests/Makemodule.am b/tests/Makemodule.am index 51363e3..492744d 100644 --- a/tests/Makemodule.am +++ b/tests/Makemodule.am @@ -93,6 +93,7 @@ check_PROGRAMS += test_get_path test_fstree_sort test_fstree_from_file check_PROGRAMS += test_fstree_init test_tar_ustar test_tar_pax test_tar_gnu check_PROGRAMS += test_tar_sparse_gnu test_tar_sparse_gnu1 test_tar_sparse_gnu2 check_PROGRAMS += test_tar_xattr_bsd test_tar_xattr_schily +check_SCRIPTS += tests/cantrbry.sh noinst_PROGRAMS += fstree_fuzz tar_fuzz @@ -102,7 +103,10 @@ TESTS += test_add_by_path test_get_path test_fstree_sort test_fstree_from_file TESTS += test_fstree_init test_tar_ustar test_tar_pax TESTS += test_tar_gnu test_tar_sparse_gnu test_tar_sparse_gnu1 TESTS += test_tar_sparse_gnu2 test_tar_xattr_bsd test_tar_xattr_schily +TESTS += tests/cantrbry.sh endif EXTRA_DIST += $(top_srcdir)/tests/tar $(top_srcdir)/tests/words.txt EXTRA_DIST += $(top_srcdir)/tests/fstree1.txt +EXTRA_DIST += $(top_srcdir)/tests/corpus/cantrbry.tar.xz +EXTRA_DIST += $(top_srcdir)/tests/corpus/cantrbry.sha512 -- cgit v1.2.3