aboutsummaryrefslogtreecommitdiffstats
path: root/t/rpmdb.t
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2017-11-04 14:57:33 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2017-11-06 20:54:33 +0100
commit9fdb5524ef0c3f716133b7b4b4ed2d0799b93a59 (patch)
tree9a21aed4b37485eff7e054faf25846fe5856655c /t/rpmdb.t
parentd918e059ce3b24f92e49d57bf4657e586844dd04 (diff)
downloadperl-URPM-9fdb5524ef0c3f716133b7b4b4ed2d0799b93a59.tar
perl-URPM-9fdb5524ef0c3f716133b7b4b4ed2d0799b93a59.tar.gz
perl-URPM-9fdb5524ef0c3f716133b7b4b4ed2d0799b93a59.tar.bz2
perl-URPM-9fdb5524ef0c3f716133b7b4b4ed2d0799b93a59.tar.xz
perl-URPM-9fdb5524ef0c3f716133b7b4b4ed2d0799b93a59.zip
skip all rpmdb tests on Debian/Ubutun
rationale: they've patched rpm to use a user private rpmdb so most tests will fail (no installed package, no perl, ...)
Diffstat (limited to 't/rpmdb.t')
-rw-r--r--t/rpmdb.t7
1 files changed, 6 insertions, 1 deletions
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);