bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

licenses of tests


From: Eric Blake
Subject: licenses of tests
Date: Tue, 29 Dec 2009 16:30:16 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

I noticed several of my recently written tests suffered from a copy-and-paste 
license error (they stated GPLv2+, even though unit tests are generally v3+ 
because they are not linked into the final product).  Here are the remaining 
files that suffer from the same fate, although I would like feedback before 
changing any of their licenses.

tests/test-des.c
tests/test-flock.c
tests/test-fsync.c
tests/test-gc-arcfour.c
tests/test-gc-arctwo.c
tests/test-gc-des.c
tests/test-gc-hmac-md5.c
tests/test-gc-hmac-sha1.c
tests/test-gc-md2.c
tests/test-gc-md4.c
tests/test-gc-md5.c
tests/test-gc-pbkdf2-sha1.c
tests/test-gc-rijndael.c
tests/test-gc-sha1.c
tests/test-gc.c
tests/test-md2.c
tests/test-md4.c
tests/test-safe-alloc.c


From: Eric Blake <address@hidden>
Date: Tue, 29 Dec 2009 09:25:40 -0700
Subject: [PATCH] tests: fix license on several tests

The use of GPLv2+ was a relic of copy-and-paste, and not intentional.

* tests/test-futimens.h: Update to GPLv3+.
* tests/test-getcwd.c: Likewise.
* tests/test-link.c: Likewise.
* tests/test-link.h: Likewise.
* tests/test-lutimens.h: Likewise.
* tests/test-mkdir.h: Likewise.
* tests/test-rename.c: Likewise.
* tests/test-rename.h: Likewise.
* tests/test-utimens-common.h: Likewise.
* tests/test-utimens.h: Likewise.

Signed-off-by: Eric Blake <address@hidden>
---
 ChangeLog                   |   14 ++++++++++++++
 tests/test-futimens.h       |    2 +-
 tests/test-getcwd.c         |    2 +-
 tests/test-link.c           |    2 +-
 tests/test-link.h           |    2 +-
 tests/test-lutimens.h       |    2 +-
 tests/test-mkdir.h          |    2 +-
 tests/test-rename.c         |    2 +-
 tests/test-rename.h         |    2 +-
 tests/test-utimens-common.h |    2 +-
 tests/test-utimens.h        |    2 +-
 11 files changed, 24 insertions(+), 10 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 785f62a..b18c3e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2009-12-29  Eric Blake  <address@hidden>
+
+       tests: fix license on several tests
+       * tests/test-futimens.h: Update to GPLv3+.
+       * tests/test-getcwd.c: Likewise.
+       * tests/test-link.c: Likewise.
+       * tests/test-link.h: Likewise.
+       * tests/test-lutimens.h: Likewise.
+       * tests/test-mkdir.h: Likewise.
+       * tests/test-rename.c: Likewise.
+       * tests/test-rename.h: Likewise.
+       * tests/test-utimens-common.h: Likewise.
+       * tests/test-utimens.h: Likewise.
+
 2009-11-17  Eric Blake  <address@hidden>

        manywarnings: add more warnings
diff --git a/tests/test-futimens.h b/tests/test-futimens.h
index 795aa9e..f93b6b8 100644
--- a/tests/test-futimens.h
+++ b/tests/test-futimens.h
@@ -3,7 +3,7 @@

    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
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
diff --git a/tests/test-getcwd.c b/tests/test-getcwd.c
index 1f6306d..46acf8a 100644
--- a/tests/test-getcwd.c
+++ b/tests/test-getcwd.c
@@ -3,7 +3,7 @@

    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
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
diff --git a/tests/test-link.c b/tests/test-link.c
index 9c1ce36..bd2f9cb 100644
--- a/tests/test-link.c
+++ b/tests/test-link.c
@@ -3,7 +3,7 @@

    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
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
diff --git a/tests/test-link.h b/tests/test-link.h
index 0d58262..99fd3df 100644
--- a/tests/test-link.h
+++ b/tests/test-link.h
@@ -3,7 +3,7 @@

    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
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
diff --git a/tests/test-lutimens.h b/tests/test-lutimens.h
index f19df80..5397ae9 100644
--- a/tests/test-lutimens.h
+++ b/tests/test-lutimens.h
@@ -3,7 +3,7 @@

    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
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
diff --git a/tests/test-mkdir.h b/tests/test-mkdir.h
index 61a3ef6..5707485 100644
--- a/tests/test-mkdir.h
+++ b/tests/test-mkdir.h
@@ -3,7 +3,7 @@

    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
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
diff --git a/tests/test-rename.c b/tests/test-rename.c
index 17cd025..25db639 100644
--- a/tests/test-rename.c
+++ b/tests/test-rename.c
@@ -3,7 +3,7 @@

    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
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
diff --git a/tests/test-rename.h b/tests/test-rename.h
index 63ec8ca..a43300d 100644
--- a/tests/test-rename.h
+++ b/tests/test-rename.h
@@ -3,7 +3,7 @@

    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
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
diff --git a/tests/test-utimens-common.h b/tests/test-utimens-common.h
index 30fd886..7077f47 100644
--- a/tests/test-utimens-common.h
+++ b/tests/test-utimens-common.h
@@ -3,7 +3,7 @@

    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
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
diff --git a/tests/test-utimens.h b/tests/test-utimens.h
index bc2599e..25a7652 100644
--- a/tests/test-utimens.h
+++ b/tests/test-utimens.h
@@ -3,7 +3,7 @@

    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
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
-- 
1.6.4.2







reply via email to

[Prev in Thread] Current Thread [Next in Thread]