From 00c39b515768795c7a75f6005d958dfabce9e52e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 26 Apr 2022 23:50:03 +0200 Subject: Don't provide a number of tests in advance It'll be simpler for next commits --- RPM4/t/05transaction.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RPM4/t/05transaction.t b/RPM4/t/05transaction.t index 070c918..8eb6fdf 100644 --- a/RPM4/t/05transaction.t +++ b/RPM4/t/05transaction.t @@ -11,8 +11,6 @@ use RPM4::Transaction::Problems; 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 => 49; } # Test on wrong db @@ -135,6 +133,8 @@ isa_ok($spec, 'RPM4::Spec', 'ts->newspec'); $ts = undef; # explicitely calling DESTROY to close database rmtree($tempdir); +done_testing(); + sub callback { my %a = @_; print STDERR "$a{what} $a{amount} / $a{total}\n"; -- cgit v1.2.1