diff options
Diffstat (limited to 't')
-rw-r--r-- | t/parse.t | 7 | ||||
-rw-r--r-- | t/rpmdb.t | 4 |
2 files changed, 8 insertions, 3 deletions
@@ -3,10 +3,15 @@ use strict; use warnings; -use Test::More tests => 41; +use Test::More; use MDV::Packdrakeng; use URPM; use URPM::Build; +if (`uname -a` =~ /BSD/i) { + plan skip_all => "*BSD fails those"; +} else { + plan tests => 41; +} chdir 't' if -d 't'; @@ -4,8 +4,8 @@ use strict ; use warnings ; use Test::More; use URPM; -if (-e '/etc/debian_version') { - plan skip_all => "Debian/Ubuntu do not have a system wide rpmdb"; +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 => 7; } |