This is an automated email from the git hooks/post-receive script. dod pushed a commit to branch master in repository libconfig-model-dpkg-perl.
commit 1d514402f18a842605904cc7b0e93caf1e9afd86 Author: Dominique Dumont <d...@debian.org> Date: Mon Sep 28 13:43:02 2015 +0200 Test MIT to Expat License fix --- t/model_tests.d/dpkg-copyright-examples/warn-MIT | 19 +++++++++++++++++++ t/model_tests.d/dpkg-copyright-test-conf.pl | 11 +++++++++++ 2 files changed, 30 insertions(+) diff --git a/t/model_tests.d/dpkg-copyright-examples/warn-MIT b/t/model_tests.d/dpkg-copyright-examples/warn-MIT new file mode 100644 index 0000000..4a0d1df --- /dev/null +++ b/t/model_tests.d/dpkg-copyright-examples/warn-MIT @@ -0,0 +1,19 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ + +Files: * +Copyright: none +License: MIT + +Files: a/* +Copyright: none +License: MITA + +Files: b/* +Copyright: none +License: MIT + +License: MIT + yada + +License: MITA + yada diff --git a/t/model_tests.d/dpkg-copyright-test-conf.pl b/t/model_tests.d/dpkg-copyright-test-conf.pl index 020b759..ba2e7ec 100644 --- a/t/model_tests.d/dpkg-copyright-test-conf.pl +++ b/t/model_tests.d/dpkg-copyright-test-conf.pl @@ -288,6 +288,17 @@ in ‘/usr/share/common-licenses/GPL-1’.", }, }, + { # Debian bug #797321 + name => 'warn-MIT', + load_warnings => [ (qr/many versions of the MIT license/) x 2 ], + apply_fix => 1, + check => { + "License:Expat text" => 'yada', + "License:MITA text" => 'yada', + 'Files:"*" License short_name' => 'Expat', + 'Files:"a/*" License short_name' => 'MITA', + } + }, ); 1; -- 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