summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2022-04-26 23:50:03 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2022-04-27 00:03:18 +0200
commit00c39b515768795c7a75f6005d958dfabce9e52e (patch)
tree4cba7beadbd170d99d9bf1fa63ea7f6258def287
parentc082c1bb2bc0b0133e428a27c0e59ad830891bc8 (diff)
downloadperl-RPM4-00c39b515768795c7a75f6005d958dfabce9e52e.tar
perl-RPM4-00c39b515768795c7a75f6005d958dfabce9e52e.tar.gz
perl-RPM4-00c39b515768795c7a75f6005d958dfabce9e52e.tar.bz2
perl-RPM4-00c39b515768795c7a75f6005d958dfabce9e52e.tar.xz
perl-RPM4-00c39b515768795c7a75f6005d958dfabce9e52e.zip
Don't provide a number of tests in advance
It'll be simpler for next commits
-rw-r--r--RPM4/t/05transaction.t4
1 files 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";