From b459ed95992b02311232bf4530903ac4aee073e0 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 5 Feb 2008 10:06:48 +0000 Subject: - urpmi, urpme, urpmq, urpmf: o fix --use-distrib (and add test to ensure it never breaks again) --- t/superuser--addmedia.t | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 't') 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) = @_; -- cgit v1.2.1