summaryrefslogtreecommitdiffstats
path: root/t/superuser--handle-conflict-deps.t
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@mandriva.org>2009-07-08 14:47:22 +0000
committerAnssi Hannula <anssi@mandriva.org>2009-07-08 14:47:22 +0000
commit057a1d282470737596128bc132be9d075f077d50 (patch)
tree78e660fd9ee938ed504a53d531d19df3cdbc3bff /t/superuser--handle-conflict-deps.t
parentb45de639ca142eb46ecce6dc8c82a87e6908c79c (diff)
downloadurpmi-057a1d282470737596128bc132be9d075f077d50.tar
urpmi-057a1d282470737596128bc132be9d075f077d50.tar.gz
urpmi-057a1d282470737596128bc132be9d075f077d50.tar.bz2
urpmi-057a1d282470737596128bc132be9d075f077d50.tar.xz
urpmi-057a1d282470737596128bc132be9d075f077d50.zip
Add testcase for bug #52135 (disabled). Adding g.spec changes hdlist ordering
and changes result of another test in handle-conflict-deps; change the test accordingly and clarify the WARNING text for that test to explain why it happens.
Diffstat (limited to 't/superuser--handle-conflict-deps.t')
-rw-r--r--t/superuser--handle-conflict-deps.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/t/superuser--handle-conflict-deps.t b/t/superuser--handle-conflict-deps.t
index abb6f233..dd0f9c59 100644
--- a/t/superuser--handle-conflict-deps.t
+++ b/t/superuser--handle-conflict-deps.t
@@ -8,6 +8,7 @@
#
# e conflicts with ff
# f provides ff
+# g conflicts with ff
#
use strict;
use lib '.', 't';
@@ -38,7 +39,10 @@ sub test_conflict_on_upgrade {
sub test_conflict_on_install {
urpmi('--auto a b');
- check_installed_and_remove('b', 'b-sub'); # WARNING: why does it choose one or the other?
+ check_installed_and_remove('a'); # WARNING: either a or b is chosen, depending on hdlist order
+
+# urpmi('--auto f g'); # test for bug #52135
+# check_installed_and_remove('g');
}
sub test_simple {