Axel Beckert pushed to branch master at lintian / lintian


Commits:
861bcc1e by Axel Beckert at 2023-01-17T01:53:09+01:00
debian/control: Bump Standards-Version in Description to 4.6.2

Gbp-Dch: Ignore

- - - - -
abf85a66 by Axel Beckert at 2023-01-17T02:15:44+01:00
run-private-scripts.t: Do not run auto-reject-diff as it requires network 
access.

- - - - -
08d50d35 by Axel Beckert at 2023-01-17T02:42:56+01:00
run-private-scripts.t: Skip generate-tag-summary without git

- - - - -


2 changed files:

- debian/control
- t/scripts/run-private-scripts.t


Changes:

=====================================
debian/control
=====================================
@@ -168,4 +168,4 @@ Description: Debian package checker
  compliance with Debian policy. Every Debian maintainer should check packages
  with this tool before uploading them to the archive.
  .
- This version of Lintian is calibrated for Debian Policy version 4.6.1.
+ This version of Lintian is calibrated for Debian Policy version 4.6.2.


=====================================
t/scripts/run-private-scripts.t
=====================================
@@ -24,7 +24,7 @@ use warnings;
 
 use Const::Fast;
 use IPC::Run3;
-use Test::More tests => 3;
+use Test::More tests => 2;
 
 const my $DOT => q{.};
 const my $WAIT_STATUS_SHIFT => 8;
@@ -59,12 +59,15 @@ sub t {
     return;
 }
 
-t('auto-reject-diff', qr/Found \d+ certain/);
-t(
-    'generate-tag-summary',
-    qr/Assuming commit range to be/,
-    qr/^No tags were added or removed$|\A\Z/
-);
+SKIP: {
+    skip('Only works with git', 1) unless -x '/usr/bin/git' && -d '.git';
+
+    t(
+        'generate-tag-summary',
+        qr/Assuming commit range to be/,
+        qr/^No tags were added or removed$|\A\Z/
+    );
+}
 t('latest-policy-version', qr/^(\d+\.){3}/);
 
 done_testing();



View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/compare/a3c688e61d78413f3c631a6db720c14f4e6e46b2...08d50d35e7a6481808e9b54f3f3d77d09309a445

-- 
View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/compare/a3c688e61d78413f3c631a6db720c14f4e6e46b2...08d50d35e7a6481808e9b54f3f3d77d09309a445
You're receiving this email because of your account on salsa.debian.org.


Reply via email to