[DRE-maint] Bug#1026988: Upcoming test suite regression due to changes in file/libmagic

Christoph Biedl debian.axhn at manchmal.in-ulm.de
Sun Dec 25 18:54:33 GMT 2022


Source:  ruby-ruby-magic-static
Version: 0.5.4-1
Severity: important

Hello,

The last upload of file/libmagic (1:5.43-3), currently in experimental) also
the ruby-ruby-magic-static test suite:

======================================================================
Failure: test_magic_get_parameter_with_PARAM_BYTES_MAX(MagicTest)
/<<PKGBUILDDIR>>/test/test_magic.rb:208:in `test_magic_get_parameter_with_PARAM_BYTES_MAX'
     205:   end
     206: 
     207:   def test_magic_get_parameter_with_PARAM_BYTES_MAX
  => 208:     assert_equal(1024 * 1024, @magic.get_parameter(Magic::PARAM_BYTES_MAX))
     209:   end
     210: 
     211:   def test_magic_get_parameter_lower_boundary
<1048576> expected but was
<7340032>
======================================================================

In fact, file's upstream has changed the value. Please, at your own
descretion, relax that check, or adjust it to the new value once I've
uploaded file to unstable - my plan to do this is in about a week.

In case you're courious, the change was:

<https://github.com/file/file/commit/d2659ae455c7df7e8c6355dfaaea1180236a2932>:
commit d2659ae455c7df7e8c6355dfaaea1180236a2932
Author: Christos Zoulas <christos at zoulas.com>
Date:   Sun Oct 2 12:53:28 2022 +0000

    Increase the number of bytes we are looking for (Joerg Jenderek)


Regards,

    Christoph

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20221225/5876b9e8/attachment-0001.sig>


More information about the Pkg-ruby-extras-maintainers mailing list