aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--t/rpmdb.t7
2 files changed, 7 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 9634150..6694f21 100644
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,7 @@
o add cflags reported by pkgconfig
(needed for eg: FreeBSD where rpm is installed under /usr/local)
o advertize the proper pkg for most distros
+ o skip all rpmdb tests on Debian/Ubutun
Version 5.15 - 3 October 2017
diff --git a/t/rpmdb.t b/t/rpmdb.t
index b263013..b9ffb5f 100644
--- a/t/rpmdb.t
+++ b/t/rpmdb.t
@@ -2,8 +2,13 @@
use strict ;
use warnings ;
-use Test::More tests => 7;
+use Test::More;
use URPM;
+if (-e '/etc/debian_version') {
+ plan skip_all => "Debian/Ubuntu do not have a system wide rpmdb";
+} else {
+ plan tests => 7;
+}
my ($count, @all_pkgs_extern, @all_pkgs);
my ($pkg_perl, $count_perl, $pkg_perl_extern);