Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1130145
| From | Christoph Biedl <debian.axhn@manchmal.in-ulm.de> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1026976: Upcoming test suite regression due to changes in file/libmagic |
| Date | 2022-12-25 14:30 +0100 |
| Message-ID | <FGzeF-d9mJ-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
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 <christos@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
Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#1026976: Upcoming test suite regression due to changes in file/libmagic Christoph Biedl <debian.axhn@manchmal.in-ulm.de> - 2022-12-25 14:30 +0100
Bug#1026976: Upcoming test suite regression due to changes in file/libmagic FC Stegerman <flx@obfusk.net> - 2022-12-25 22:30 +0100
Bug#1026976: Upcoming test suite regression due to changes in file/libmagic "Chris Lamb" <lamby@debian.org> - 2022-12-28 11:20 +0100
Bug#1026976: Upcoming test suite regression due to changes in file/libmagic Christoph Biedl <debian.axhn@manchmal.in-ulm.de> - 2022-12-29 16:50 +0100
Bug#1026976: Upcoming test suite regression due to changes in file/libmagic FC Stegerman <flx@obfusk.net> - 2022-12-31 01:30 +0100
Bug#1026976: Upcoming test suite regression due to changes in file/libmagic Christos Zoulas <christos@zoulas.com> - 2022-12-31 21:40 +0100
Bug#1026976: Upcoming test suite regression due to changes in file/libmagic Christoph Biedl <debian.axhn@manchmal.in-ulm.de> - 2023-01-01 18:20 +0100
Bug#1026976: Upcoming test suite regression due to changes in file/libmagic FC Stegerman <flx@obfusk.net> - 2023-01-01 22:30 +0100
csiph-web