aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--t/parse.t4
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 2850d20..713e724 100644
--- a/NEWS
+++ b/NEWS
@@ -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
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($?) };