diff options
Diffstat (limited to 'RPM4/t/06sign.t')
-rw-r--r-- | RPM4/t/06sign.t | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/RPM4/t/06sign.t b/RPM4/t/06sign.t index fda5c54..e5b8f83 100644 --- a/RPM4/t/06sign.t +++ b/RPM4/t/06sign.t @@ -2,12 +2,18 @@ # $Id$ use strict; -use Test::More tests => 4; +use Test::More; use FindBin qw($Bin); use File::Temp qw(tempdir); use File::Copy; use RPM4; +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 => 4; +} + my $passphrase = "RPM4"; my $testdir = tempdir(CLEANUP => 1); |