summaryrefslogtreecommitdiffstats
path: root/t/superuser--media_info_dir.t
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-01-15 00:59:14 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-01-17 02:22:39 +0100
commit46387084f6d0e09207354daed3fe2531035d638d (patch)
tree3c9eced401f93afe20f9e4778e32694ae70c6795 /t/superuser--media_info_dir.t
parentbd9042d1252f276d1d57fb172c2cb3e1b6847c10 (diff)
downloadurpmi-46387084f6d0e09207354daed3fe2531035d638d.tar
urpmi-46387084f6d0e09207354daed3fe2531035d638d.tar.gz
urpmi-46387084f6d0e09207354daed3fe2531035d638d.tar.bz2
urpmi-46387084f6d0e09207354daed3fe2531035d638d.tar.xz
urpmi-46387084f6d0e09207354daed3fe2531035d638d.zip
fix testsuite errors on CentOs (NVR vs NVRA)
where rpmquery default to outputing NVRA (vs NVR on Mageia) reuse check_installed_fullnames() where needed instead of introducing %{NVR}
Diffstat (limited to 't/superuser--media_info_dir.t')
-rw-r--r--t/superuser--media_info_dir.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/superuser--media_info_dir.t b/t/superuser--media_info_dir.t
index dee55001..a71fc277 100644
--- a/t/superuser--media_info_dir.t
+++ b/t/superuser--media_info_dir.t
@@ -17,7 +17,7 @@ sub various {
foreach my $medium_name ('various', 'various_nohdlist', 'various nohdlist', 'various_no_subdir') {
urpmi_addmedia("'$medium_name' '$::pwd/media/$medium_name'");
urpmi($name);
- is(`rpm -qa --root $::pwd/root`, "$name-1-1\n");
+ check_installed_fullnames("$name-1-1");
urpme($name);
urpmi_removemedia("'$medium_name'");
}