Axel Beckert pushed to branch master at lintian / lintian
Commits:
-
861bcc1e
by Axel Beckert at 2023-01-17T01:53:09+01:00
-
abf85a66
by Axel Beckert at 2023-01-17T02:15:44+01:00
-
08d50d35
by Axel Beckert at 2023-01-17T02:42:56+01:00
2 changed files:
Changes:
| ... | ... | @@ -168,4 +168,4 @@ Description: Debian package checker |
| 168 | 168 | compliance with Debian policy. Every Debian maintainer should check packages
|
| 169 | 169 | with this tool before uploading them to the archive.
|
| 170 | 170 | .
|
| 171 | - This version of Lintian is calibrated for Debian Policy version 4.6.1. |
|
| 171 | + This version of Lintian is calibrated for Debian Policy version 4.6.2. |
| ... | ... | @@ -24,7 +24,7 @@ use warnings; |
| 24 | 24 | |
| 25 | 25 | use Const::Fast;
|
| 26 | 26 | use IPC::Run3;
|
| 27 | -use Test::More tests => 3;
|
|
| 27 | +use Test::More tests => 2;
|
|
| 28 | 28 | |
| 29 | 29 | const my $DOT => q{.};
|
| 30 | 30 | const my $WAIT_STATUS_SHIFT => 8;
|
| ... | ... | @@ -59,12 +59,15 @@ sub t { |
| 59 | 59 | return;
|
| 60 | 60 | }
|
| 61 | 61 | |
| 62 | -t('auto-reject-diff', qr/Found \d+ certain/);
|
|
| 63 | -t(
|
|
| 64 | - 'generate-tag-summary',
|
|
| 65 | - qr/Assuming commit range to be/,
|
|
| 66 | - qr/^No tags were added or removed$|\A\Z/
|
|
| 67 | -);
|
|
| 62 | +SKIP: {
|
|
| 63 | + skip('Only works with git', 1) unless -x '/usr/bin/git' && -d '.git';
|
|
| 64 | + |
|
| 65 | + t(
|
|
| 66 | + 'generate-tag-summary',
|
|
| 67 | + qr/Assuming commit range to be/,
|
|
| 68 | + qr/^No tags were added or removed$|\A\Z/
|
|
| 69 | + );
|
|
| 70 | +}
|
|
| 68 | 71 | t('latest-policy-version', qr/^(\d+\.){3}/);
|
| 69 | 72 | |
| 70 | 73 | done_testing();
|