From 352d67bb3389c4ae91e4b0e915dc0653eb4c7098 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 9 Jul 2008 11:32:42 +0000 Subject: check that just required packages are not detected as orphans (reported on cooker@ that perl-Mail-DomainKeys suggested by spamassassin was detected as orphan) --- t/superuser--orphans.t | 3 +++ 1 file changed, 3 insertions(+) (limited to 't') diff --git a/t/superuser--orphans.t b/t/superuser--orphans.t index 2713ab0c..29e87f97 100644 --- a/t/superuser--orphans.t +++ b/t/superuser--orphans.t @@ -88,6 +88,9 @@ sub test_urpme2 { my ($pkg, $wanted) = @_; print "# test_urpme($pkg, $wanted)\n"; urpmi("--media $name-1 --auto $pkg"); + check_installed_names($pkg, split(' ', $wanted)); + urpme("--auto --auto-orphans"); # this must not do anything + check_installed_names($pkg, split(' ', $wanted)); run_and_get_suggested_orphans("urpme $pkg", add_version1($wanted)); urpme("--auto --auto-orphans"); check_nothing_installed(); -- cgit v1.2.1