From cb3e7e16baa5d8570af517c289a8d56614747e47 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Tue, 24 Sep 2024 21:30:36 +0200 Subject: [PATCH] Add test for unusual filename t.7z.001 --- tests/archives/test_7z.py | 1 + tests/data/t.7z.001 | Bin 0 -> 157 bytes 2 files changed, 1 insertion(+) create mode 100644 tests/data/t.7z.001 diff --git a/tests/archives/test_7z.py b/tests/archives/test_7z.py index 50063e0f..0c6c4756 100644 --- a/tests/archives/test_7z.py +++ b/tests/archives/test_7z.py @@ -86,6 +86,7 @@ def test_7z_rar(self): def test_7z_file(self): """Run archive commands with renamed archives that 7z supports.""" self.archive_commands('t.7z.foo', skip_create=True) + self.archive_commands('t.7z.001', skip_create=True) self.archive_commands('t.cb7.foo', skip_create=True) self.archive_commands('t.zip.foo', skip_create=True) self.archive_commands('t.cbz.foo', skip_create=True) diff --git a/tests/data/t.7z.001 b/tests/data/t.7z.001 new file mode 100644 index 0000000000000000000000000000000000000000..7149c7fb954a92df91fd08c1db396f560800dea5 GIT binary patch literal 157 zcmXr7+Ou9=hJpFqw(l2W86ZFbO0UgW!p$JXQv>EU8ndtCKc`w3=ya;stNoC|sdHyO zs0#8Qe`~?u%*ys{_xIO1y&pd3u9&j=(kelF=J$=q|0VeKEaOq_Wt`rT-f*C-C3i)9 zPu33Wjkj*OJ*n!s4K!7pjh&G*jDek-k%3W}nURq-mO+4lfhUoR(JgO{JOcv&+9)*a literal 0 HcmV?d00001