summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-05 09:31:10 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-05 09:31:10 +0000
commit01d868b8a066fa0f223b54257ba3bec6f779d215 (patch)
tree49b1d1e8df2c51f56a5b36c73fbdae764ceb4b67
parent83a947a43757c8e67c6389d367c3010eba83b283 (diff)
downloadurpmi-01d868b8a066fa0f223b54257ba3bec6f779d215.tar
urpmi-01d868b8a066fa0f223b54257ba3bec6f779d215.tar.gz
urpmi-01d868b8a066fa0f223b54257ba3bec6f779d215.tar.bz2
urpmi-01d868b8a066fa0f223b54257ba3bec6f779d215.tar.xz
urpmi-01d868b8a066fa0f223b54257ba3bec6f779d215.zip
simplify
-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);
}