summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@mandriva.org>2009-07-09 00:10:57 +0000
committerAnssi Hannula <anssi@mandriva.org>2009-07-09 00:10:57 +0000
commitcd02ec06713e1a912262bbdc8fbecef27d8e46c9 (patch)
treee59b4d35c09ec92bc0c519bdc188dbe3b4c4d15a /t
parent057a1d282470737596128bc132be9d075f077d50 (diff)
downloadurpmi-cd02ec06713e1a912262bbdc8fbecef27d8e46c9.tar
urpmi-cd02ec06713e1a912262bbdc8fbecef27d8e46c9.tar.gz
urpmi-cd02ec06713e1a912262bbdc8fbecef27d8e46c9.tar.bz2
urpmi-cd02ec06713e1a912262bbdc8fbecef27d8e46c9.tar.xz
urpmi-cd02ec06713e1a912262bbdc8fbecef27d8e46c9.zip
Adapt string match in orphans.t for changes in urpmi.
Diffstat (limited to '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 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);