diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-04-09 15:01:22 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-04-28 20:58:59 +0200 |
commit | 7e61200dc4867f5b25d44c0d4d62ebb6525be1fa (patch) | |
tree | 3b8f171b04f68474956f7a1f78559e16f34ad15f /t/superuser--specify-media.t | |
parent | ef70ebb63a9ca9fb1215d0a0d5f46dbbfa82f6fd (diff) | |
download | urpmi-7e61200dc4867f5b25d44c0d4d62ebb6525be1fa.tar urpmi-7e61200dc4867f5b25d44c0d4d62ebb6525be1fa.tar.gz urpmi-7e61200dc4867f5b25d44c0d4d62ebb6525be1fa.tar.bz2 urpmi-7e61200dc4867f5b25d44c0d4d62ebb6525be1fa.tar.xz urpmi-7e61200dc4867f5b25d44c0d4d62ebb6525be1fa.zip |
describe more tests to help pinpoint regressions
Diffstat (limited to 't/superuser--specify-media.t')
-rw-r--r-- | t/superuser--specify-media.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/superuser--specify-media.t b/t/superuser--specify-media.t index 8381582b..32a143df 100644 --- a/t/superuser--specify-media.t +++ b/t/superuser--specify-media.t @@ -37,7 +37,7 @@ sub test_urpmq { my @l = run_urpm_cmd("urpmq $para --sources $name"); foreach my $dir (@wanted) { my $found = shift @l; - is(dirname($found), $dir); + is(dirname($found), $dir, "directory $dir found"); } } @@ -49,7 +49,7 @@ sub test_urpmi { $s =~ s/^SECURITY: NOT checking package.*//m; ok($s =~ m!^installing $name\S* from $wanted$!m, "$wanted in <<'$s'>>"); - isnt($s =~ m!\Q$bad/!, "$bad not in $s"); + isnt($s =~ m!\Q$bad/!, "$bad not in $s", "$bad not in output"); urpme($name); } |