[SCM] Git repository for devscripts branch, jessie, updated. v2.12.4-33-g6ff1b1e
Benjamin Drung
bdrung at debian.org
Sun Oct 21 16:33:03 UTC 2012
The following commit has been merged in the jessie branch:
commit e3d9c3b2acaa78688aade6e0ec18e0971b33c360
Author: Benjamin Drung <bdrung at debian.org>
Date: Sun Oct 21 18:29:09 2012 +0200
Add comment removal test cases to licensecheck.
diff --git a/test/licensecheck/gpl-2+.scm b/test/licensecheck/gpl-2+.scm
new file mode 100644
index 0000000..d2a10f3
--- /dev/null
+++ b/test/licensecheck/gpl-2+.scm
@@ -0,0 +1,14 @@
+; Copyright (c) 2012 Devscripts developers
+;
+; This program is free software: you can redistribute it and/or modify
+; it under the terms of the GNU General Public License as published by
+; the Free Software Foundation, either version 2 of the License, or
+; (at your option) any later version.
+;
+; This package is distributed in the hope that it will be useful,
+; but WITHOUT ANY WARRANTY; without even the implied warranty of
+; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+; GNU General Public License for more details.
+;
+; You should have received a copy of the GNU General Public License
+; along with this program. If not, see <http://www.gnu.org/licenses/>.
diff --git a/test/licensecheck/lgpl-2.s b/test/licensecheck/lgpl-2.s
new file mode 100644
index 0000000..f7647c8
--- /dev/null
+++ b/test/licensecheck/lgpl-2.s
@@ -0,0 +1,11 @@
+@ Copyright (C) 2012 Devscripts developers
+@
+@ This library is free software; you can redistribute it and/or
+@ modify it under the terms of the GNU Library General Public
+@ License as published by the Free Software Foundation;
+@ version 2 of the License.
+@
+@ This library is distributed in the hope that it will be useful,
+@ but WITHOUT ANY WARRANTY; without even the implied warranty of
+@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+@ Library General Public License for more details.
diff --git a/test/test_licensecheck b/test/test_licensecheck
index b01f03e..a6578ef 100755
--- a/test/test_licensecheck
+++ b/test/test_licensecheck
@@ -36,12 +36,14 @@ testBeerware() {
testLGPL() {
license "lgpl-2.1.c" "LGPL (v2.1)"
license "lgpl-2.1.h" "LGPL (v2.1)"
+ license "lgpl-2.s" "LGPL (v2)"
}
testGPL() {
license "gpl-1" "GPL (v1 or later)"
license "gpl-2" "GPL (v2)"
license "gpl-2+" "GPL (v2 or later)"
+ license "gpl-2+.scm" "GPL (v2 or later)"
license "gpl-2-comma.sh" "GPL (v2)"
license "gpl-2-incorrect-address" "GPL (v2) (with incorrect FSF address)"
license "gpl-3.sh" "GPL (v3)"
--
Git repository for devscripts
More information about the devscripts-devel
mailing list