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 54da9508d2f02ff3f1adabe32e175caaebd54e5f Author: Dominique Dumont <d...@debian.org> Date: Wed Aug 31 20:59:09 2016 +0200 fix unused license tests deep_chek is no longer called after loading config file. Lisense check is triggered only by apply_fix deep_check without fix must now be explicitly called. --- t/model_tests.d/dpkg-copyright-test-conf.pl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/t/model_tests.d/dpkg-copyright-test-conf.pl b/t/model_tests.d/dpkg-copyright-test-conf.pl index 5cf8118..08fdbd2 100644 --- a/t/model_tests.d/dpkg-copyright-test-conf.pl +++ b/t/model_tests.d/dpkg-copyright-test-conf.pl @@ -327,13 +327,15 @@ in ‘/usr/share/common-licenses/GPL-1’.", }, { name => 'unused-license', - load_warnings => [ (qr/deprecated/) x 3 , qr/Unused global license/], - apply_fix => 1, - + load_warnings => [ (qr/deprecated/) x 3 ], + # the unused license check_before_fix => { 'License:"MPL-1.1" text' => "[MPL-1.1 LICENSE TEXT]", }, + apply_fix => 1, # clean up unused license + + # check that unused license was removed has_not_key => [ 'License' => 'MPL-1.1' ], check => { 'License:"GPL-2+" text' => "[GPL-2 LICENSE TEXT]", -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits