diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-04-10 18:39:06 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-04-28 20:58:59 +0200 |
commit | a994197786a6510b2abed1865d1a44d368418109 (patch) | |
tree | 87409a84a114c61df902c4aaef4ecc749a70b082 /t | |
parent | aee22dfd270ecdd3afb8f42cdda6d346c3705679 (diff) | |
download | urpmi-a994197786a6510b2abed1865d1a44d368418109.tar urpmi-a994197786a6510b2abed1865d1a44d368418109.tar.gz urpmi-a994197786a6510b2abed1865d1a44d368418109.tar.bz2 urpmi-a994197786a6510b2abed1865d1a44d368418109.tar.xz urpmi-a994197786a6510b2abed1865d1a44d368418109.zip |
fix test with rpm < 4.13 on CentOS7
Diffstat (limited to 't')
-rw-r--r-- | t/superuser--failing-scriptlets.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/superuser--failing-scriptlets.t b/t/superuser--failing-scriptlets.t index 6804eaaa..73adcada 100644 --- a/t/superuser--failing-scriptlets.t +++ b/t/superuser--failing-scriptlets.t @@ -13,7 +13,7 @@ test_install_rpm_fail('pre'); test_install_rpm_fail('pretrans'); test_install_rpm('post'); require urpm::select; -if (urpm::select::_rpm_version() lt 4.13.0) { # && -e '/etc/mageia-release') { +if (urpm::select::_rpm_version() lt 4.13.0 && -e '/etc/mageia-release') { test_install_rpm('preun'); } else { test_install_rpm_but_uninstall_fail('preun'); |