summaryrefslogtreecommitdiff
path: root/tests/Makemodule.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-12-13 12:29:42 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-12-13 12:44:27 +0100
commitacdbae1723d1bc32d2e31d06ad76306af1749032 (patch)
tree700e5a0394e2d452447933949182a78ab3daeffc /tests/Makemodule.am
parent2d2772341fa65e3d412e76c6e9d4a8815756c0ec (diff)
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 <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/Makemodule.am')
-rw-r--r--tests/Makemodule.am4
1 files changed, 4 insertions, 0 deletions
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