From 91e02dde5fefbba87dc4736df40cfaeec2c088c1 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Mon, 20 May 2024 09:22:10 +0300 Subject: [PATCH] New tests for nested archives (bug#70987) * test/lisp/tar-mode-tests.el (tar-mode-test-tar-extract-zip-and-gz): * test/lisp/arc-mode-tests.el (arc-mode-test-zip-extract-tar-and-gz): New tests. * test/data/decompress/tzg.tar.gz: * test/data/decompress/ztg.zip: New data files to test decompressing of different combinations of nested tar and zip archives. --- test/data/decompress/tzg.tar.gz | Bin 0 -> 255 bytes test/data/decompress/ztg.zip | Bin 0 -> 316 bytes test/lisp/arc-mode-tests.el | 16 ++++++++++++++++ test/lisp/tar-mode-tests.el | 14 ++++++++++++++ 4 files changed, 30 insertions(+) create mode 100644 test/data/decompress/tzg.tar.gz create mode 100644 test/data/decompress/ztg.zip diff --git a/test/data/decompress/tzg.tar.gz b/test/data/decompress/tzg.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..611f543688eecd203a167480d57f7384a6afc3bd GIT binary patch literal 255 zcmb2|=3oE==C>C%dNDf+G(5EYt~5(z8XM2Ec?xfio}D|lHI`|T(oQYSHGK&SU78=R zVOd+ld*88I`=jETmMP!N-raMY&=BRS^ymI2V{Yp+IL;~?M)BA{p<<R98p=8)ibzg>w>gT BaVh`+ literal 0 HcmV?d00001 diff --git a/test/data/decompress/ztg.zip b/test/data/decompress/ztg.zip new file mode 100644 index 0000000000000000000000000000000000000000..5f4aea4c8dc65373553dadf053f35c9cf111bdb7 GIT binary patch literal 316 zcmWIWW@Zs#U|`^2$e;8qV9J9#x>JC>X+X@$Aj43Su2+&+q?cY58p6rI%;d-%-#*_n zt+axhfsy4UGXn#dnEd`(!jBKuI&Fr?l%hW-OmO z=g5AIb&*>yyn20X$E8}MxbyQ{d~El9$UE}?>Gge9XRBA6|6R83uJ!xb&t9+pw{zbd zMpm7D;(HSB#j)|Su`vXAGcw6B