aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2017-07-22 23:33:09 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2017-07-22 23:36:16 +0200
commit4cb2fcc5bf443de9f3f05fe085c42a317101321b (patch)
treea7117bf49f334b611940848e12319de5cba6ebdd /t
parent2dc15405bbc4e7d16171ee1d236387924719c028 (diff)
downloadperl-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.'
Diffstat (limited to 't')
-rw-r--r--t/parse.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/parse.t b/t/parse.t
index 6d80265..bcbc0b4 100644
--- a/t/parse.t
+++ b/t/parse.t
@@ -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($?) };