summaryrefslogtreecommitdiffstats
path: root/t/superuser--specify-media.t
diff options
context:
space:
mode:
Diffstat (limited to 't/superuser--specify-media.t')
-rw-r--r--t/superuser--specify-media.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/superuser--specify-media.t b/t/superuser--specify-media.t
index 31e4c6a5..8381582b 100644
--- a/t/superuser--specify-media.t
+++ b/t/superuser--specify-media.t
@@ -45,8 +45,10 @@ sub test_urpmi {
my ($para, $wanted, $bad) = @_;
my $s = run_urpm_cmd("urpmi $para $name");
$s =~ s/^Preparing.*//sm;
+ $s =~ s/^\s+$//sm;
+ $s =~ s/^SECURITY: NOT checking package.*//m;
- ok($s =~ m!^installing $name\S* from $wanted$!m, "$wanted in $s");
+ ok($s =~ m!^installing $name\S* from $wanted$!m, "$wanted in <<'$s'>>");
isnt($s =~ m!\Q$bad/!, "$bad not in $s");
urpme($name);