[license-reconcile] 04/04: more working

Nicholas Bamber periapt at moszumanska.debian.org
Tue Nov 24 23:05:33 UTC 2015


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

periapt pushed a commit to branch master
in repository license-reconcile.

commit bc35d7b0cb5db25b3a7faf662840351aba204820
Author: Nicholas Bamber <nicholas at periapt.co.uk>
Date:   Tue Nov 24 23:05:13 2015 +0000

    more working
---
 t/08-licensecheck.t | 134 ++++++++++++++++++++++++++--------------------------
 1 file changed, 66 insertions(+), 68 deletions(-)

diff --git a/t/08-licensecheck.t b/t/08-licensecheck.t
index 811adee..b3e15c9 100644
--- a/t/08-licensecheck.t
+++ b/t/08-licensecheck.t
@@ -13,17 +13,17 @@ require UNIVERSAL::require;
 Readonly my @LICENSES => qw(
     Apache_2_0
     FreeBSD
+    GPL_1
+    GPL_2
+    GPL_3
+    LGPL_2
+    LGPL_2_1
+    LGPL_3_0
+    MIT
+    Mozilla_2_0
+    QPL_1_0
+    Zlib
 );
-#    GPL_1
-#    GPL_2
-#    GPL_3
-#    LGPL_2
-#    LGPL_2_1
-#    LGPL_3_0
-#    MIT
-#    Mozilla_2_0
-#    QPL_1_0
-#    Zlib
 
     #CC0_1_0
     #GFDL_1_3
@@ -64,8 +64,12 @@ Readonly my $LICENSECHECK => Debian::LicenseReconcile::LicenseCheck->new(
 	[
 		'Apache (v2.0)'=>'test1',
 		'BSD (2 clause)'=>'test2',
-		'LGPL (v2.1)'=>'test1',
-		'LGPL (v2)'=>'test2',
+		'GPL (v1)'=>'test3',
+		'GPL (v2)'=>'test4',
+		'GPL (v3)'=>'test5',
+		'LGPL (v2)'=>'test6',
+		'LGPL (v2.1)'=>'test7',
+		'LGPL (v3)'=>'test8',
 	],
 	1
 );
@@ -84,60 +88,54 @@ cmp_deeply(\@data, bag(
         license=>'test2',
 	copyright=>['Copyright: 2001 by Testophilus Testownik <tester at testity.org>'],
     },
+    {
+        file=>'GPL_1',
+        license=>'test3',
+	copyright=>['Copyright: 2002 by Testophilus Testownik <tester at testity.org>'],
+    },
+    {
+        file=>'GPL_2',
+        license=>'test4',
+	copyright=>['Copyright: 2003 by Testophilus Testownik <tester at testity.org>'],
+    },
+    {
+        file=>'GPL_3',
+        license=>'test5',
+	copyright=>['Copyright: 2004 by Testophilus Testownik <tester at testity.org>'],
+    },
+    {
+        file=>'LGPL_2',
+        license=>'test6',
+	copyright=>['Copyright: 2005 by Testophilus Testownik <tester at testity.org>'],
+    },
+    {
+        file=>'LGPL_2_1',
+        license=>'test7',
+	copyright=>['Copyright: 2006 by Testophilus Testownik <tester at testity.org>'],
+    },
+    {
+        file=>'LGPL_3_0',
+        license=>'test8',
+	copyright=>['Copyright: 2007 by Testophilus Testownik <tester at testity.org>'],
+    },
+    {
+        file=>'MIT',
+        license=>ignore(),
+	copyright=>['Copyright: 2008 by Testophilus Testownik <tester at testity.org>'],
+    },
+    {
+        file=>ignore(),
+        license=>ignore(),
+	copyright=>['Copyright: 2009 by Testophilus Testownik <tester at testity.org>'],
+    },
+    {
+        file=>ignore(),
+        license=>ignore(),
+	copyright=>['Copyright: 2010 by Testophilus Testownik <tester at testity.org>'],
+    },
+    {
+        file=>ignore(),
+        license=>ignore(),
+	copyright=>['Copyright: 2011 by Testophilus Testownik <tester at testity.org>'],
+    },
 ));
-#    {
-#        file=>ignore(),
-#        license=>ignore(),
-#        copyright=>[ignore()],
-#    },
-#    {
-#        file=>ignore(),
-#        license=>ignore(),
-#        copyright=>[ignore()],
-#    },
-#    {
-#        file=>ignore(),
-#        license=>ignore(),
-#        copyright=>[ignore()],
-#    },
-#    {
-#        file=>ignore(),
-#        license=>ignore(),
-#        copyright=>[ignore()],
-#    },
-#    {
-#        file=>ignore(),
-#        license=>ignore(),
-#        copyright=>[ignore()],
-#    },
-#    {
-#        file=>ignore(),
-#        license=>ignore(),
-#        copyright=>[ignore()],
-#    },
-#    {
-#        file=>ignore(),
-#        license=>ignore(),
-#        copyright=>[ignore()],
-#    },
-#    {
-#        file=>ignore(),
-#        license=>ignore(),
-#        copyright=>[ignore()],
-#    },
-#    {
-#        file=>ignore(),
-#        license=>ignore(),
-#        copyright=>[ignore()],
-#    },
-#    {
-#        file=>ignore(),
-#        license=>ignore(),
-#        copyright=>[ignore()],
-#    },
-#    {
-#        file=>ignore(),
-#        license=>ignore(),
-#        copyright=>[ignore()],
-#    },
-#

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/license-reconcile.git



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