[libconfig-model-dpkg-perl] 03/06: fix warn-BSD test

dod at debian.org dod at debian.org
Wed Aug 31 19:01:10 UTC 2016


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

dod pushed a commit to branch check-unused-licenses-live
in repository libconfig-model-dpkg-perl.

commit 4b403c629c117958a0416faa893c68530b9ba09a
Author: Dominique Dumont <dod at debian.org>
Date:   Wed Aug 31 20:56:22 2016 +0200

    fix warn-BSD test
    
    it's been broken for a while. The improved license check has shown the issue
---
 t/model_tests.d/dpkg-copyright-examples/warn-BSD | 2 +-
 t/model_tests.d/dpkg-copyright-test-conf.pl      | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/t/model_tests.d/dpkg-copyright-examples/warn-BSD b/t/model_tests.d/dpkg-copyright-examples/warn-BSD
index 2a5a65d..2419bab 100644
--- a/t/model_tests.d/dpkg-copyright-examples/warn-BSD
+++ b/t/model_tests.d/dpkg-copyright-examples/warn-BSD
@@ -16,7 +16,7 @@ Files: c/*
 Copyright: none
 License: BSD3
 
-Files: a/*
+Files: d/*
 Copyright: none
 License: my-BSD-3
  yada
diff --git a/t/model_tests.d/dpkg-copyright-test-conf.pl b/t/model_tests.d/dpkg-copyright-test-conf.pl
index f532d80..5cf8118 100644
--- a/t/model_tests.d/dpkg-copyright-test-conf.pl
+++ b/t/model_tests.d/dpkg-copyright-test-conf.pl
@@ -316,9 +316,10 @@ in ‘/usr/share/common-licenses/GPL-1’.",
         apply_fix => 1,
         check => {
           'Files:"*" License short_name' => 'BSD-2-clause',
-          'Files:"a/*" License short_name' => 'my-BSD-3',
+          'Files:"a/*" License short_name' => 'BSD-like',
           'Files:"b/*" License short_name' => 'BSD-3-clause',
           'Files:"c/*" License short_name' => 'BSD-3-clause',
+          'Files:"d/*" License short_name' => 'my-BSD-3',
           'License:BSD-2-clause text' => 'yada',
           'License:BSD-3-clause text' => 'yada',
           'License:BSD-like text' => 'yada',

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git



More information about the Pkg-perl-cvs-commits mailing list