[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 02/02: Fix Testsuite



This is an automated email from the git hooks/post-receive script.

broucaries-guest pushed a commit to branch master
in repository lintian.

commit c0df75dff9b46f720c0c7704adc04ed5ae2f667a
Author: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Date:   Sun Nov 16 21:51:15 2014 +0100

    Fix Testsuite
    
    Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
---
 checks/changelog-file.pm            | 2 +-
 checks/cruft.pm                     | 1 -
 checks/files.pm                     | 7 ++++---
 t/tests/changelog-file-general/desc | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/checks/changelog-file.pm b/checks/changelog-file.pm
index b16e661..a5d0e07 100644
--- a/checks/changelog-file.pm
+++ b/checks/changelog-file.pm
@@ -361,7 +361,7 @@ sub run {
             unless ($uploaded eq 'UNRELEASED') {
                 unless($uploaded eq $intended) {
                     tag 'bad-intended-distribution',
-                    "intended to $intended but uploaded to $uploaded";
+                      "intended to $intended but uploaded to $uploaded";
                 }
             }
         }
diff --git a/checks/cruft.pm b/checks/cruft.pm
index 322c58f..99976de 100644
--- a/checks/cruft.pm
+++ b/checks/cruft.pm
@@ -711,7 +711,6 @@ sub find_cruft {
     return;
 }
 
-
 # try to check if source is missing
 sub check_missing_source {
     my ($file, $info, $name, $basename, $dirname,$replacementspairref) = @_;
diff --git a/checks/files.pm b/checks/files.pm
index a1f70cd..26d93fc 100644
--- a/checks/files.pm
+++ b/checks/files.pm
@@ -1156,11 +1156,12 @@ sub run {
         }
 
         # doxygen compressed map
-        if ($fname =~ m,^usr/share/doc/(?:.+/)?(?:doxygen|html)/
-                         .*\.map\.$COMPRESS_FILE_EXTENSIONS_OR_ALL,x) {
+        if (
+            $fname =~ m,^usr/share/doc/(?:.+/)?(?:doxygen|html)/
+                         .*\.map\.$COMPRESS_FILE_EXTENSIONS_OR_ALL,x
+          ) {
             tag 'file-should-not-be-compressed', $file;
         }
-            
 
         # ---------------- pyshared-data
         if ($fname=~ m,^usr/share/python-support/$ppkg\.(?:public|private)$,){
diff --git a/t/tests/changelog-file-general/desc b/t/tests/changelog-file-general/desc
index 164cf53..a1292eb 100644
--- a/t/tests/changelog-file-general/desc
+++ b/t/tests/changelog-file-general/desc
@@ -4,7 +4,7 @@ Type: non-native
 Version: 1.0-1
 Description: General tests for changelog-file tags
 Test-For:
- bad-intended-distibution
+ bad-intended-distribution
  changelog-not-compressed-with-max-compression
  debian-changelog-file-contains-invalid-email-address
  debian-changelog-file-contains-obsolete-user-emacs-settings

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: