Source: strip-nondeterminism Version: 1.13.0-2 Severity: important Hello,
possibly you've seen the similar story in diffoscope already: The last upload of file/libmagic (1:5.43-3, currently in experimental) broke also the strip-nondeterminism test suite: ====================================================================== # Failed test 'Normalizer found for /tmp/IhdQGJbeMu/pyzip' # at t/fixtures.t line 83. # got: undef # expected: anything else # Failed test 'Test output /tmp/IhdQGJbeMu/pyzip matched expected t/fixtures/pyzip/pyzip.out' # at t/fixtures.t line 89. # Looks like you failed 2 tests of 9. # Failed test 't/fixtures/pyzip/pyzip.in' # at t/fixtures.t line 101. strip-nondeterminism: /tmp/IZ0B8oD7YF/encrypted.zip: ignoring encrypted zip file # Looks like you failed 1 test of 22. t/fixtures.t ..· Dubious, test returned 1 (wstat 256, 0x100) Failed 1/22 subtests· ====================================================================== As I understand it, this is result of how t/fixtures/pyzip/pyzip.in is described by file(1): - a /usr/bin/python3 script executable (binary data) + Zip archive, with extra data prepended Now that looks a bit delicate ... if you think this is something that should be handled in file/libmagic, let me know. In case you're courious, the change was: <https://github.com/file/file/commit/a92246be4a8ceff26f0d4fdaa0390fc110146d7d>: commit a92246be4a8ceff26f0d4fdaa0390fc110146d7d Author: Christos Zoulas <chris...@zoulas.com> Date: Sun Oct 2 12:34:00 2022 +0000 Recognize ZIP archives with prepended data by end-of-central-directory record (Michal Gorny) Regards, Christoph
signature.asc
Description: PGP signature