summaryrefslogtreecommitdiff
path: root/tests/Makemodule.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-08-14 12:37:02 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-08-14 15:12:24 +0200
commit1deb54c95d508f9adce1dddb073f0b0e4f8e7ba1 (patch)
tree5f257a566f89701641a030d7b2eb3604c3d7cfc9 /tests/Makemodule.am
parentad109e2b119cb3ed27c7d964be9625d415447eb1 (diff)
Add a test case for the path traversal bug
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/Makemodule.am')
-rw-r--r--tests/Makemodule.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/Makemodule.am b/tests/Makemodule.am
index 8669fb1..3165889 100644
--- a/tests/Makemodule.am
+++ b/tests/Makemodule.am
@@ -11,7 +11,14 @@ TESTS += tests/cantrbry.sh tests/test_tar_sqfs.sh tests/pack_dir_root.sh
endif
endif
+if WINDOWS
+else
+check_SCRIPTS += tests/rdsquashfs/pathtraversal.sh
+TESTS += tests/rdsquashfs/pathtraversal.sh
+endif
+
EXTRA_DIST += $(top_srcdir)/tests/tar2sqfs
EXTRA_DIST += $(top_srcdir)/tests/corpus/cantrbry.tar.xz
EXTRA_DIST += $(top_srcdir)/tests/corpus/cantrbry.sha512
EXTRA_DIST += $(top_srcdir)/tests/pack_dir_root.txt.ref
+EXTRA_DIST += $(top_srcdir)/tests/rdsquashfs/pathtraversal.sqfs