summaryrefslogtreecommitdiffstats
path: root/t/superuser--orphans.t
diff options
context:
space:
mode:
Diffstat (limited to 't/superuser--orphans.t')
-rw-r--r--t/superuser--orphans.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/superuser--orphans.t b/t/superuser--orphans.t
index f036e3a4..68f10ff3 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 orphaned, if you wish to remove (?:it|them), you can use "urpme --auto-orphans"\.\n(.*)/ms;
+ my ($lines) = $s =~ /^The following packages?:\n(.*)\n(?:is|are) now orphaned, if you wish to remove (?:it|them), you can use "urpme --auto-orphans"/ms;
my @msgs = $lines ? $lines =~ /^ (\S+)\.\S+$/mg : (); # we don't want the arch
my $msg = join(" -- ", sort @msgs);