diff options
Diffstat (limited to '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'); |