summaryrefslogtreecommitdiffstats
path: root/t/superuser--obsolete-and-conflict.t
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-05 15:41:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-05 15:41:19 +0000
commit5b73a4b1cb00d2c178d0c00a358a0cf81533b056 (patch)
tree4a61711fc5aa02c4983d0fb8602045de200c12dd /t/superuser--obsolete-and-conflict.t
parentccdbde85bae8efa2dc646708db52e41db3963f72 (diff)
downloadurpmi-5b73a4b1cb00d2c178d0c00a358a0cf81533b056.tar
urpmi-5b73a4b1cb00d2c178d0c00a358a0cf81533b056.tar.gz
urpmi-5b73a4b1cb00d2c178d0c00a358a0cf81533b056.tar.bz2
urpmi-5b73a4b1cb00d2c178d0c00a358a0cf81533b056.tar.xz
urpmi-5b73a4b1cb00d2c178d0c00a358a0cf81533b056.zip
add a test (that is not fully well handled)
Diffstat (limited to 't/superuser--obsolete-and-conflict.t')
-rw-r--r--t/superuser--obsolete-and-conflict.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/superuser--obsolete-and-conflict.t b/t/superuser--obsolete-and-conflict.t
index 3fa1372c..21cb4483 100644
--- a/t/superuser--obsolete-and-conflict.t
+++ b/t/superuser--obsolete-and-conflict.t
@@ -42,6 +42,12 @@ check_installed_names('a', 'd');
urpmi('--split-level 1 b c');
check_installed_names('b', 'c', 'd'); # perl-URPM fix for #31969 fixes this too ("d" used to be removed without asking)
+urpme('b c d');
+
+urpmi('a d');
+check_installed_names('a', 'd');
+urpmi('--auto c');
+check_installed_names('c'); # urpmi should promote new version of "b" instead of removing conflicting older packages
sub test_urpmi {
my ($para, $wanted) = @_;