diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-04-22 02:57:42 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-04-29 14:40:02 +0200 |
commit | 432b032bcb12ad845a9459738de58f019842ea3b (patch) | |
tree | 156e775085d91c3705ab5451cc06502c3d85f24e /t/superuser--mirrorlist.t | |
parent | 48ec7f80caf6f42bb92c8cedd490974a4546d073 (diff) | |
download | urpmi-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.t | 5 |
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'); |