summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--t/superuser--buggy-rpms.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/superuser--buggy-rpms.t b/t/superuser--buggy-rpms.t
index 34bacbdd..256f45f8 100644
--- a/t/superuser--buggy-rpms.t
+++ b/t/superuser--buggy-rpms.t
@@ -13,7 +13,8 @@ open STDERR, '>/dev/null';
my @pkgs = map { "data/rpm-buggy/$_" } 'invalid-signature.rpm', 'not-a-rpm.rpm', 'weird-header.rpm';
foreach (@pkgs) {
- system("rpm -K $_");
+ # rpm-4.14.2's errors messages mess up with TAP:
+ system("rpm -K $_ &>/dev/null");
is($?, 1 << 8, "rpm -K $_");
system(urpmi_cmd() . " $_");