diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2017-07-22 23:33:09 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2017-07-22 23:36:16 +0200 |
commit | 4cb2fcc5bf443de9f3f05fe085c42a317101321b (patch) | |
tree | a7117bf49f334b611940848e12319de5cba6ebdd | |
parent | 2dc15405bbc4e7d16171ee1d236387924719c028 (diff) | |
download | perl-URPM-4cb2fcc5bf443de9f3f05fe085c42a317101321b.tar perl-URPM-4cb2fcc5bf443de9f3f05fe085c42a317101321b.tar.gz perl-URPM-4cb2fcc5bf443de9f3f05fe085c42a317101321b.tar.bz2 perl-URPM-4cb2fcc5bf443de9f3f05fe085c42a317101321b.tar.xz perl-URPM-4cb2fcc5bf443de9f3f05fe085c42a317101321b.zip |
workaround perl-5.26 vs librpm bug
which results in the following on exit cleanup:
'panic: free from wrong pool, 0!=6c7010 during global destruction.'
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | t/parse.t | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -1,5 +1,6 @@ - test failure: o fix test failure with perl-5.26 + o workaround perl-5.26 vs librpm bug which results on exit cleanup Version 5.12 - 10 November 2016 @@ -5,6 +5,7 @@ use strict; use warnings; use Test::More tests => 41; use MDV::Packdrakeng; +use POSIX '_exit'; use URPM; use URPM::Build; @@ -117,3 +118,6 @@ ok(URPM::rpmvercmp("1:1-1mdk", "2:1-1mdk") == -1, "epoch 1 vs 2 = -1"); ok(defined $pkg, "Parsing a srpm works"); is($pkg->arch, 'src', 'srpm arch is "src"'); } + +# workaround perl-5.26 vs librpm resulting in 'panic: free from wrong pool, 0!=6c7010 during global destruction.': +END { POSIX::_exit($?) }; |