diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-01-15 00:59:14 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-01-17 02:22:39 +0100 |
commit | 46387084f6d0e09207354daed3fe2531035d638d (patch) | |
tree | 3c9eced401f93afe20f9e4778e32694ae70c6795 /t/superuser--http.t | |
parent | bd9042d1252f276d1d57fb172c2cb3e1b6847c10 (diff) | |
download | urpmi-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--http.t')
-rw-r--r-- | t/superuser--http.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/superuser--http.t b/t/superuser--http.t index 297e7c69..1477bc8c 100644 --- a/t/superuser--http.t +++ b/t/superuser--http.t @@ -23,7 +23,7 @@ sub test { urpmi_addmedia("$medium_name $url/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); } @@ -50,7 +50,7 @@ sub test_exotic_medium_name { is(run_urpm_cmd('urpmq --sourcerpm various'), "various: various-1-1.src.rpm\n"); urpmi($name); - is(`rpm -qa --root $::pwd/root`, "$name-1-1\n"); + check_installed_fullnames("$name-1-1"); urpme($name); urpmi_removemedia("'$medium_name'"); |