diff options
Diffstat (limited to 't/superuser--addmedia.t')
-rw-r--r-- | t/superuser--addmedia.t | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/superuser--addmedia.t b/t/superuser--addmedia.t index 9e7ce17f..63b9fb34 100644 --- a/t/superuser--addmedia.t +++ b/t/superuser--addmedia.t @@ -63,6 +63,7 @@ try_distrib_removable({ with_synthesis3 => "../..//media/media_info/synthesis.hdlist_$name3.cz" }, '--probe-synthesis'); +try_use_distrib(); sub try_medium { my ($want, $options, $o_options2) = @_; @@ -119,6 +120,11 @@ sub try_distrib_ { urpmi_removemedia('-a'); } +sub try_use_distrib { + urpmi("--use-distrib $::pwd $name $name2"); + check_installed_and_remove($name, $name2); +} + sub try_distrib_removable_ { my ($want, $want2, $want3, $options) = @_; |