diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-08-04 04:20:46 -0400 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-08-04 05:50:46 -0400 |
commit | 0f9a26d4d5c78b9e44e0062a41ce0448bcb1f953 (patch) | |
tree | 941acc5efba2124c9615eae90d4f52b2fda2558f /t | |
parent | 9b818192549caf3563b57b26189ef33ce570a79f (diff) | |
download | urpmi-0f9a26d4d5c78b9e44e0062a41ce0448bcb1f953.tar urpmi-0f9a26d4d5c78b9e44e0062a41ce0448bcb1f953.tar.gz urpmi-0f9a26d4d5c78b9e44e0062a41ce0448bcb1f953.tar.bz2 urpmi-0f9a26d4d5c78b9e44e0062a41ce0448bcb1f953.tar.xz urpmi-0f9a26d4d5c78b9e44e0062a41ce0448bcb1f953.zip |
introduce new helper func
needed for next commits
Diffstat (limited to 't')
-rw-r--r-- | t/superuser--failing-scriptlets.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/superuser--failing-scriptlets.t b/t/superuser--failing-scriptlets.t index 9d8a5929..be838c7b 100644 --- a/t/superuser--failing-scriptlets.t +++ b/t/superuser--failing-scriptlets.t @@ -30,6 +30,11 @@ sub test_install_rpm { system_("rpm --root $::pwd/root -i media/$medium_name/$name-*.rpm"); check_installed_fullnames_and_remove("$name-1-1"); } +sub test_install_rpm_no_remove { + my ($name) = @_; + system_("rpm --root $::pwd/root -i media/$medium_name/$name-*.rpm"); + check_installed_fullnames("$name-1-1"); +} sub test_install_rpm_fail { my ($name) = @_; system_should_fail("rpm --root $::pwd/root -i media/$medium_name/$name-*.rpm"); |