From 5b73a4b1cb00d2c178d0c00a358a0cf81533b056 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 5 Sep 2007 15:41:19 +0000 Subject: add a test (that is not fully well handled) --- t/superuser--obsolete-and-conflict.t | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 't') 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) = @_; -- cgit v1.2.1