[SCM] Git repository for devscripts branch, jessie, updated. v2.12.4-35-gf0f6663

Benjamin Drung bdrung at debian.org
Sun Oct 21 16:55:05 UTC 2012


The following commit has been merged in the jessie branch:
commit f0f66635000eb6d5537f7e36d7626ae8b8f17b5c
Author: Benjamin Drung <bdrung at debian.org>
Date:   Sun Oct 21 18:53:04 2012 +0200

    Add test case for previous commit.

diff --git a/test/licensecheck/bsd-3-clause.cpp b/test/licensecheck/bsd-3-clause.cpp
new file mode 100644
index 0000000..25268eb
--- /dev/null
+++ b/test/licensecheck/bsd-3-clause.cpp
@@ -0,0 +1,26 @@
+/* Copyright (c) 2012, Devscripts developers
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *     * Redistributions of source code must retain the above copyright
+ *       notice, this list of conditions and the following disclaimer.
+ *     * Redistributions in binary form must reproduce the above copyright
+ *       notice, this list of conditions and the following disclaimer in the
+ *       documentation and/or other materials provided with the distribution.
+ *     * Neither the name of the devscripts developers nor the
+ *       names of other contributors may be used to endorse or promote products
+ *       derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY ABISOURCE CORPORATION B.V. AND OTHER
+ * CONTRIBUTORS ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
+ * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ABISOURCE
+ * CORPORATION B.V OR OTHER CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
+ * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
diff --git a/test/test_licensecheck b/test/test_licensecheck
index a6578ef..8c9aa4d 100755
--- a/test/test_licensecheck
+++ b/test/test_licensecheck
@@ -33,6 +33,10 @@ testBeerware() {
     license "beerware.cpp" "Beerware"
 }
 
+testBSD() {
+    license "bsd-3-clause.cpp" "BSD (3 clause)"
+}
+
 testLGPL() {
     license "lgpl-2.1.c" "LGPL (v2.1)"
     license "lgpl-2.1.h" "LGPL (v2.1)"

-- 
Git repository for devscripts



More information about the devscripts-devel mailing list