diff options
Diffstat (limited to 'RPM4/t/09hdlist.t')
-rw-r--r-- | RPM4/t/09hdlist.t | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/RPM4/t/09hdlist.t b/RPM4/t/09hdlist.t index 1027b2c..d889d38 100644 --- a/RPM4/t/09hdlist.t +++ b/RPM4/t/09hdlist.t @@ -2,11 +2,17 @@ # $Id$ use strict; -use Test::More tests => 6; +use Test::More; use FindBin qw($Bin); use File::Temp qw(tempdir); use File::Glob; +if (-e '/etc/debian_version' || `uname -a` =~ /BSD/i) { + plan skip_all => "*BSD/Debian/Ubuntu do not have a system wide rpmdb"; +} else { + plan tests => 6; +} + my $testdir = tempdir(CLEANUP => 1); use_ok('RPM4'); |