summaryrefslogtreecommitdiffstats
path: root/t/superuser--orphans.t
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-10-28 13:48:38 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-10-28 13:48:38 +0000
commit89a3bda63bc21a21715df3ce530ae85972ce96e6 (patch)
tree08a4a88f870ee148c3e6f9fcc99233b895f9d247 /t/superuser--orphans.t
parentbb0fabd2c2bffcf3def2c8c538921305d09ec298 (diff)
downloadurpmi-89a3bda63bc21a21715df3ce530ae85972ce96e6.tar
urpmi-89a3bda63bc21a21715df3ce530ae85972ce96e6.tar.gz
urpmi-89a3bda63bc21a21715df3ce530ae85972ce96e6.tar.bz2
urpmi-89a3bda63bc21a21715df3ce530ae85972ce96e6.tar.xz
urpmi-89a3bda63bc21a21715df3ce530ae85972ce96e6.zip
- urpmi
o fix "urpmi firefox mozilla-firefox-ext-google-toolbar ; urpme --auto-orphans mozilla-firefox-ext-google-toolbar" which must not remove firefox (cf #45054) (this is especially bad for DrakX/rpmsrate)
Diffstat (limited to 't/superuser--orphans.t')
-rw-r--r--t/superuser--orphans.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/superuser--orphans.t b/t/superuser--orphans.t
index 79bd67eb..53c0c210 100644
--- a/t/superuser--orphans.t
+++ b/t/superuser--orphans.t
@@ -20,6 +20,8 @@
#
# req-a requires a, req-b requires b...
#
+# u1 requires u2, u4 requires u3
+#
use strict;
use lib '.', 't';
use helper;
@@ -40,6 +42,9 @@ set_urpmi_cfg_global_options({ 'nb-of-new-unrequested-pkgs-between-auto-select-o
test_urpme_v1(['h'], 'h', '');
test_urpme_v1(['hh', 'h'], 'h', 'hh');
+test_urpme_v1(['u1 u2'], 'u1', 'u2');
+test_urpme_v1(['u3 u4'], 'u4', 'u3');
+
test_auto_select_both('a', '', 'a-2');
test_auto_select_both('b', '', 'bb-2');
test_auto_select_both('c', 'cc', 'c-2 cc-1');