From cd02ec06713e1a912262bbdc8fbecef27d8e46c9 Mon Sep 17 00:00:00 2001 From: Anssi Hannula Date: Thu, 9 Jul 2009 00:10:57 +0000 Subject: Adapt string match in orphans.t for changes in urpmi. --- t/superuser--orphans.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/superuser--orphans.t b/t/superuser--orphans.t index e43874ce..c2713709 100644 --- a/t/superuser--orphans.t +++ b/t/superuser--orphans.t @@ -196,7 +196,7 @@ sub run_and_get_suggested_orphans { my $s = run_urpm_cmd($cmd); print $s; - my ($lines) = $s =~ /^The following packages? (?:is|are) now orphans?, use "urpme --auto-orphans" to remove (?:it|them)\.\n(.*)/ms; + my ($lines) = $s =~ /^The following packages? (?:is|are) now orphaned, if you wish to remove (?:it|them), you can use "urpme --auto-orphans"\.\n(.*)/ms; my @msgs = $lines ? $lines =~ /^ (\S+)\.\S+$/mg : (); # we don't want the arch my $msg = join(" -- ", sort @msgs); -- cgit v1.2.1