summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/superuser--addmedia.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/superuser--addmedia.t b/t/superuser--addmedia.t
index 7db489b5..9e7ce17f 100644
--- a/t/superuser--addmedia.t
+++ b/t/superuser--addmedia.t
@@ -142,6 +142,5 @@ sub check_conf {
sub check_urpmi {
my (@names) = @_;
urpmi(join(' ', @names));
- is(`rpm -qa --root $::pwd/root | sort`, join('', map { "$_-1-1\n" } @names));
- urpme(join(' ', @names));
+ check_installed_and_remove(@names);
}