summaryrefslogtreecommitdiffstats
path: root/t/superuser--mirrorlist.t
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-04-22 02:57:42 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-04-29 14:40:02 +0200
commit432b032bcb12ad845a9459738de58f019842ea3b (patch)
tree156e775085d91c3705ab5451cc06502c3d85f24e /t/superuser--mirrorlist.t
parent48ec7f80caf6f42bb92c8cedd490974a4546d073 (diff)
downloadurpmi-432b032bcb12ad845a9459738de58f019842ea3b.tar
urpmi-432b032bcb12ad845a9459738de58f019842ea3b.tar.gz
urpmi-432b032bcb12ad845a9459738de58f019842ea3b.tar.bz2
urpmi-432b032bcb12ad845a9459738de58f019842ea3b.tar.xz
urpmi-432b032bcb12ad845a9459738de58f019842ea3b.zip
add more extensive tests
Diffstat (limited to 't/superuser--mirrorlist.t')
-rw-r--r--t/superuser--mirrorlist.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/superuser--mirrorlist.t b/t/superuser--mirrorlist.t
index 8a38d11b..cc3a8be6 100644
--- a/t/superuser--mirrorlist.t
+++ b/t/superuser--mirrorlist.t
@@ -26,4 +26,9 @@ urpmi_removemedia('core');
urpmi_addmedia('--distrib --mirrorlist \$MIRRORLIST');
is(run_urpm_cmd('urpmq sed'), "sed\n", "is sed available");
+if ($ENV{AUTHOR_TESTING}) {
+ my $name = 'perl-XML-LibXML';
+ urpmi("--auto $name");
+ is(`rpm -q --qf '%{name}' --root $::pwd/root $name`, $name, "$name is installed");
+}
urpmi_removemedia('-a');