summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--t/superuser--mirrorlist.t5
2 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 424ca34d..100329cb 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,7 @@
o try harder to find genhdlist2 in uninstalled CPAN modules
o work without glibc-static-devel
- testsuite:
+ o add more extensive tests
o describe it more
o disable fsync/fdatasync while running tests
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');