[Bug 1419841] perl-Compress-Raw-Zlib-2.071-1.fc26 FTBFS: deflateParams() tests in t/02zlib.t fail with zlib ≥ 1.2.9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1419841



--- Comment #1 from Petr Pisar <ppisar@xxxxxxxxxx> ---
>From zlib changelog:

Changes in 1.2.9 (31 Dec 2016)
- Assure that deflateParams() will not switch functions mid-block

The test does:

    ok(($x, $err) = new Compress::Raw::Zlib::Deflate(
                       -AppendOutput   => 1,
                       -Level    => Z_DEFAULT_COMPRESSION,
                       -Strategy => Z_DEFAULT_STRATEGY)) ;

And then changes the deflate configuration:

    # change both Level & Strategy
    $status = $x->deflateParams(-Level => Z_BEST_SPEED, -Strategy =>
Z_HUFFMAN_ONLY, -Bufsize => 1236) ;
    cmp_ok $status, '==', Z_OK ;

So it looks like the test checks a feature that is not supported by recent zlib
anymore.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux