This is an automated email from the git hooks/post-receive script. periapt pushed a commit to branch master in repository license-reconcile.
commit c2b899ab3a16f5c53f58bca0f0a630be8dedb055 Author: Nicholas Bamber <nicho...@periapt.co.uk> Date: Wed Nov 25 16:26:32 2015 +0000 testing against Software::License --- t/08-licensecheck.t | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/t/08-licensecheck.t b/t/08-licensecheck.t index b3e15c9..76d63f4 100644 --- a/t/08-licensecheck.t +++ b/t/08-licensecheck.t @@ -62,6 +62,7 @@ foreach my $license (@LICENSES) { Readonly my $LICENSECHECK => Debian::LicenseReconcile::LicenseCheck->new( $dir->dirname, [ + # Want to test that we can map if we need to. 'Apache (v2.0)'=>'test1', 'BSD (2 clause)'=>'test2', 'GPL (v1)'=>'test3', @@ -70,6 +71,10 @@ Readonly my $LICENSECHECK => Debian::LicenseReconcile::LicenseCheck->new( 'LGPL (v2)'=>'test6', 'LGPL (v2.1)'=>'test7', 'LGPL (v3)'=>'test8', + 'MIT/X11 (BSD like)'=>'test9', + 'MPL (v2.0)'=>'test10', + 'QPL'=>'test11', + 'zlib/libpng'=>'test12', ], 1 ); @@ -120,22 +125,22 @@ cmp_deeply(\@data, bag( }, { file=>'MIT', - license=>ignore(), + license=>'test9', copyright=>['Copyright: 2008 by Testophilus Testownik <tes...@testity.org>'], }, { - file=>ignore(), - license=>ignore(), + file=>'Mozilla_2_0', + license=>'test10', copyright=>['Copyright: 2009 by Testophilus Testownik <tes...@testity.org>'], }, { - file=>ignore(), - license=>ignore(), + file=>'QPL_1_0', + license=>'test11', copyright=>['Copyright: 2010 by Testophilus Testownik <tes...@testity.org>'], }, { - file=>ignore(), - license=>ignore(), + file=>'Zlib', + license=>'test12', copyright=>['Copyright: 2011 by Testophilus Testownik <tes...@testity.org>'], }, )); -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/license-reconcile.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