Mercurial > hg > octave-lojdl > gnulib-hg
changeset 12521:15712244d6dc
tests: remove License section from module
Per modules/TEMPLATE-TESTS, test modules do not need a license
section. This is because all tests are implicitly GPLv3+, with
no conflict even in an LGPL or GPLv2 client, because the tests
are not linked into the client executable. Delete the existing
License sections with the following:
find modules -name '*-tests' | xargs grep -l License \
| xargs sed -i '/^$/N; /License:/,$ d'
* modules/arpa_inet-tests: Remove unneeded section.
* modules/byteswap-tests: Likewise.
* modules/ceilf-tests: Likewise.
* modules/ceill-tests: Likewise.
* modules/crypto/des-tests: Likewise.
* modules/crypto/gc-arcfour-tests: Likewise.
* modules/crypto/gc-arctwo-tests: Likewise.
* modules/crypto/gc-des-tests: Likewise.
* modules/crypto/gc-hmac-md5-tests: Likewise.
* modules/crypto/gc-hmac-sha1-tests: Likewise.
* modules/crypto/gc-md2-tests: Likewise.
* modules/crypto/gc-md4-tests: Likewise.
* modules/crypto/gc-md5-tests: Likewise.
* modules/crypto/gc-pbkdf2-sha1-tests: Likewise.
* modules/crypto/gc-rijndael-tests: Likewise.
* modules/crypto/gc-sha1-tests: Likewise.
* modules/crypto/gc-tests: Likewise.
* modules/crypto/md2-tests: Likewise.
* modules/crypto/md4-tests: Likewise.
* modules/fcntl-h-tests: Likewise.
* modules/floorf-tests: Likewise.
* modules/floorl-tests: Likewise.
* modules/frexp-nolibm-tests: Likewise.
* modules/frexp-tests: Likewise.
* modules/frexpl-nolibm-tests: Likewise.
* modules/frexpl-tests: Likewise.
* modules/getaddrinfo-tests: Likewise.
* modules/inttypes-tests: Likewise.
* modules/isfinite-tests: Likewise.
* modules/isinf-tests: Likewise.
* modules/ldexpl-tests: Likewise.
* modules/locale-tests: Likewise.
* modules/math-tests: Likewise.
* modules/netdb-tests: Likewise.
* modules/netinet_in-tests: Likewise.
* modules/printf-frexp-tests: Likewise.
* modules/printf-frexpl-tests: Likewise.
* modules/priv-set-tests: Likewise.
* modules/random_r-tests: Likewise.
* modules/round-tests: Likewise.
* modules/roundf-tests: Likewise.
* modules/roundl-tests: Likewise.
* modules/search-tests: Likewise.
* modules/select-tests: Likewise.
* modules/signal-tests: Likewise.
* modules/stdbool-tests: Likewise.
* modules/stddef-tests: Likewise.
* modules/stdint-tests: Likewise.
* modules/stdio-tests: Likewise.
* modules/stdlib-tests: Likewise.
* modules/string-tests: Likewise.
* modules/strings-tests: Likewise.
* modules/sys_select-tests: Likewise.
* modules/sys_socket-tests: Likewise.
* modules/sys_stat-tests: Likewise.
* modules/sys_time-tests: Likewise.
* modules/sys_utsname-tests: Likewise.
* modules/sysexits-tests: Likewise.
* modules/time-tests: Likewise.
* modules/trunc-tests: Likewise.
* modules/truncf-tests: Likewise.
* modules/truncl-tests: Likewise.
* modules/tsearch-tests: Likewise.
* modules/unistd-tests: Likewise.
* modules/wchar-tests: Likewise.
* modules/wctype-tests: Likewise.
Signed-off-by: Eric Blake <ebb9@byu.net>
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,73 @@ 2009-12-29 Eric Blake <ebb9@byu.net> + tests: remove License section from module + * modules/arpa_inet-tests: Remove unneeded section. + * modules/byteswap-tests: Likewise. + * modules/ceilf-tests: Likewise. + * modules/ceill-tests: Likewise. + * modules/crypto/des-tests: Likewise. + * modules/crypto/gc-arcfour-tests: Likewise. + * modules/crypto/gc-arctwo-tests: Likewise. + * modules/crypto/gc-des-tests: Likewise. + * modules/crypto/gc-hmac-md5-tests: Likewise. + * modules/crypto/gc-hmac-sha1-tests: Likewise. + * modules/crypto/gc-md2-tests: Likewise. + * modules/crypto/gc-md4-tests: Likewise. + * modules/crypto/gc-md5-tests: Likewise. + * modules/crypto/gc-pbkdf2-sha1-tests: Likewise. + * modules/crypto/gc-rijndael-tests: Likewise. + * modules/crypto/gc-sha1-tests: Likewise. + * modules/crypto/gc-tests: Likewise. + * modules/crypto/md2-tests: Likewise. + * modules/crypto/md4-tests: Likewise. + * modules/fcntl-h-tests: Likewise. + * modules/floorf-tests: Likewise. + * modules/floorl-tests: Likewise. + * modules/frexp-nolibm-tests: Likewise. + * modules/frexp-tests: Likewise. + * modules/frexpl-nolibm-tests: Likewise. + * modules/frexpl-tests: Likewise. + * modules/getaddrinfo-tests: Likewise. + * modules/inttypes-tests: Likewise. + * modules/isfinite-tests: Likewise. + * modules/isinf-tests: Likewise. + * modules/ldexpl-tests: Likewise. + * modules/locale-tests: Likewise. + * modules/math-tests: Likewise. + * modules/netdb-tests: Likewise. + * modules/netinet_in-tests: Likewise. + * modules/printf-frexp-tests: Likewise. + * modules/printf-frexpl-tests: Likewise. + * modules/priv-set-tests: Likewise. + * modules/random_r-tests: Likewise. + * modules/round-tests: Likewise. + * modules/roundf-tests: Likewise. + * modules/roundl-tests: Likewise. + * modules/search-tests: Likewise. + * modules/select-tests: Likewise. + * modules/signal-tests: Likewise. + * modules/stdbool-tests: Likewise. + * modules/stddef-tests: Likewise. + * modules/stdint-tests: Likewise. + * modules/stdio-tests: Likewise. + * modules/stdlib-tests: Likewise. + * modules/string-tests: Likewise. + * modules/strings-tests: Likewise. + * modules/sys_select-tests: Likewise. + * modules/sys_socket-tests: Likewise. + * modules/sys_stat-tests: Likewise. + * modules/sys_time-tests: Likewise. + * modules/sys_utsname-tests: Likewise. + * modules/sysexits-tests: Likewise. + * modules/time-tests: Likewise. + * modules/trunc-tests: Likewise. + * modules/truncf-tests: Likewise. + * modules/truncl-tests: Likewise. + * modules/tsearch-tests: Likewise. + * modules/unistd-tests: Likewise. + * modules/wchar-tests: Likewise. + * modules/wctype-tests: Likewise. + tests: fix license on several tests * tests/test-des.c: Update to GPLv3+. * tests/test-flock.c: Likewise.
--- a/modules/arpa_inet-tests +++ b/modules/arpa_inet-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-arpa_inet check_PROGRAMS += test-arpa_inet - -License: -LGPL
--- a/modules/byteswap-tests +++ b/modules/byteswap-tests @@ -9,6 +9,3 @@ Makefile.am: TESTS += test-byteswap check_PROGRAMS += test-byteswap - -License: -LGPL
--- a/modules/ceilf-tests +++ b/modules/ceilf-tests @@ -19,6 +19,3 @@ check_PROGRAMS += test-ceilf1 test-ceilf2 test_ceilf1_LDADD = $(LDADD) @CEILF_LIBM@ test_ceilf2_LDADD = $(LDADD) @CEILF_LIBM@ - -License: -LGPL
--- a/modules/ceill-tests +++ b/modules/ceill-tests @@ -15,6 +15,3 @@ TESTS += test-ceill check_PROGRAMS += test-ceill test_ceill_LDADD = $(LDADD) @CEILL_LIBM@ - -License: -LGPL
--- a/modules/crypto/des-tests +++ b/modules/crypto/des-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-des check_PROGRAMS += test-des - -License: -LGPLv2+
--- a/modules/crypto/gc-arcfour-tests +++ b/modules/crypto/gc-arcfour-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-gc-arcfour check_PROGRAMS += test-gc-arcfour - -License: -LGPLv2+
--- a/modules/crypto/gc-arctwo-tests +++ b/modules/crypto/gc-arctwo-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-gc-arctwo check_PROGRAMS += test-gc-arctwo - -License: -LGPLv2+
--- a/modules/crypto/gc-des-tests +++ b/modules/crypto/gc-des-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-gc-des check_PROGRAMS += test-gc-des - -License: -LGPLv2+
--- a/modules/crypto/gc-hmac-md5-tests +++ b/modules/crypto/gc-hmac-md5-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-gc-hmac-md5 check_PROGRAMS += test-gc-hmac-md5 - -License: -LGPLv2+
--- a/modules/crypto/gc-hmac-sha1-tests +++ b/modules/crypto/gc-hmac-sha1-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-gc-hmac-sha1 check_PROGRAMS += test-gc-hmac-sha1 - -License: -LGPLv2+
--- a/modules/crypto/gc-md2-tests +++ b/modules/crypto/gc-md2-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-gc-md2 check_PROGRAMS += test-gc-md2 - -License: -LGPLv2+
--- a/modules/crypto/gc-md4-tests +++ b/modules/crypto/gc-md4-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-gc-md4 check_PROGRAMS += test-gc-md4 - -License: -LGPLv2+
--- a/modules/crypto/gc-md5-tests +++ b/modules/crypto/gc-md5-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-gc-md5 check_PROGRAMS += test-gc-md5 - -License: -LGPLv2+
--- a/modules/crypto/gc-pbkdf2-sha1-tests +++ b/modules/crypto/gc-pbkdf2-sha1-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-gc-pbkdf2-sha1 check_PROGRAMS += test-gc-pbkdf2-sha1 - -License: -LGPLv2+
--- a/modules/crypto/gc-rijndael-tests +++ b/modules/crypto/gc-rijndael-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-gc-rijndael check_PROGRAMS += test-gc-rijndael - -License: -LGPLv2+
--- a/modules/crypto/gc-sha1-tests +++ b/modules/crypto/gc-sha1-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-gc-sha1 check_PROGRAMS += test-gc-sha1 - -License: -LGPLv2+
--- a/modules/crypto/gc-tests +++ b/modules/crypto/gc-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-gc check_PROGRAMS += test-gc - -License: -LGPLv2+
--- a/modules/crypto/md2-tests +++ b/modules/crypto/md2-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-md2 check_PROGRAMS += test-md2 - -License: -LGPLv2+
--- a/modules/crypto/md4-tests +++ b/modules/crypto/md4-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-md4 check_PROGRAMS += test-md4 - -License: -LGPLv2+
--- a/modules/fcntl-h-tests +++ b/modules/fcntl-h-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-fcntl-h check_PROGRAMS += test-fcntl-h - -License: -LGPL
--- a/modules/floorf-tests +++ b/modules/floorf-tests @@ -19,6 +19,3 @@ check_PROGRAMS += test-floorf1 test-floorf2 test_floorf1_LDADD = $(LDADD) @FLOORF_LIBM@ test_floorf2_LDADD = $(LDADD) @FLOORF_LIBM@ - -License: -LGPL
--- a/modules/floorl-tests +++ b/modules/floorl-tests @@ -15,6 +15,3 @@ TESTS += test-floorl check_PROGRAMS += test-floorl test_floorl_LDADD = $(LDADD) @FLOORL_LIBM@ - -License: -LGPL
--- a/modules/frexp-nolibm-tests +++ b/modules/frexp-nolibm-tests @@ -13,6 +13,3 @@ TESTS += test-frexp-nolibm check_PROGRAMS += test-frexp-nolibm test_frexp_nolibm_SOURCES = test-frexp.c - -License: -LGPL
--- a/modules/frexp-tests +++ b/modules/frexp-tests @@ -14,6 +14,3 @@ TESTS += test-frexp check_PROGRAMS += test-frexp test_frexp_LDADD = $(LDADD) @FREXP_LIBM@ - -License: -LGPL
--- a/modules/frexpl-nolibm-tests +++ b/modules/frexpl-nolibm-tests @@ -14,6 +14,3 @@ TESTS += test-frexpl-nolibm check_PROGRAMS += test-frexpl-nolibm test_frexpl_nolibm_SOURCES = test-frexpl.c - -License: -LGPL
--- a/modules/frexpl-tests +++ b/modules/frexpl-tests @@ -16,6 +16,3 @@ TESTS += test-frexpl check_PROGRAMS += test-frexpl test_frexpl_LDADD = $(LDADD) @FREXPL_LIBM@ - -License: -LGPL
--- a/modules/getaddrinfo-tests +++ b/modules/getaddrinfo-tests @@ -12,6 +12,3 @@ TESTS += test-getaddrinfo check_PROGRAMS += test-getaddrinfo test_getaddrinfo_LDADD = $(LDADD) @GETADDRINFO_LIB@ @LIBINTL@ - -License: -LGPL
--- a/modules/inttypes-tests +++ b/modules/inttypes-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-inttypes check_PROGRAMS += test-inttypes - -License: -LGPL
--- a/modules/isfinite-tests +++ b/modules/isfinite-tests @@ -14,6 +14,3 @@ TESTS += test-isfinite check_PROGRAMS += test-isfinite test_isfinite_LDADD = $(LDADD) @ISFINITE_LIBM@ - -License: -GPL
--- a/modules/isinf-tests +++ b/modules/isinf-tests @@ -17,6 +17,3 @@ TESTS += test-isinf check_PROGRAMS += test-isinf test_isinf_LDADD = $(LDADD) @ISINF_LIBM@ - -License: -GPL
--- a/modules/ldexpl-tests +++ b/modules/ldexpl-tests @@ -15,6 +15,3 @@ Makefile.am: TESTS += test-ldexpl check_PROGRAMS += test-ldexpl - -License: -LGPL
--- a/modules/locale-tests +++ b/modules/locale-tests @@ -10,6 +10,3 @@ Makefile.am: TESTS += test-locale check_PROGRAMS += test-locale - -License: -LGPL
--- a/modules/math-tests +++ b/modules/math-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-math check_PROGRAMS += test-math - -License: -LGPL
--- a/modules/netdb-tests +++ b/modules/netdb-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-netdb check_PROGRAMS += test-netdb - -License: -LGPL
--- a/modules/netinet_in-tests +++ b/modules/netinet_in-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-netinet_in check_PROGRAMS += test-netinet_in - -License: -LGPL
--- a/modules/printf-frexp-tests +++ b/modules/printf-frexp-tests @@ -9,6 +9,3 @@ Makefile.am: TESTS += test-printf-frexp check_PROGRAMS += test-printf-frexp - -License: -LGPL
--- a/modules/printf-frexpl-tests +++ b/modules/printf-frexpl-tests @@ -10,6 +10,3 @@ Makefile.am: TESTS += test-printf-frexpl check_PROGRAMS += test-printf-frexpl - -License: -LGPL
--- a/modules/priv-set-tests +++ b/modules/priv-set-tests @@ -9,6 +9,3 @@ Makefile.am: TESTS += test-priv-set check_PROGRAMS += test-priv-set - -License: -GPL
--- a/modules/random_r-tests +++ b/modules/random_r-tests @@ -10,6 +10,3 @@ Makefile.am: TESTS += test-random_r check_PROGRAMS += test-random_r - -License: -LGPL
--- a/modules/round-tests +++ b/modules/round-tests @@ -19,6 +19,3 @@ check_PROGRAMS += test-round1 test-round2 test_round1_LDADD = $(LDADD) @ROUND_LIBM@ test_round2_LDADD = $(LDADD) @ROUND_LIBM@ - -License: -LGPL
--- a/modules/roundf-tests +++ b/modules/roundf-tests @@ -22,6 +22,3 @@ check_PROGRAMS += test-roundf1 test-roundf2 test_roundf1_LDADD = $(LDADD) @ROUNDF_LIBM@ test_roundf2_LDADD = $(LDADD) @ROUNDF_LIBM@ - -License: -LGPL
--- a/modules/roundl-tests +++ b/modules/roundl-tests @@ -15,6 +15,3 @@ TESTS += test-roundl check_PROGRAMS += test-roundl test_roundl_LDADD = $(LDADD) @ROUNDL_LIBM@ - -License: -LGPL
--- a/modules/search-tests +++ b/modules/search-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-search check_PROGRAMS += test-search - -License: -LGPL
--- a/modules/select-tests +++ b/modules/select-tests @@ -37,6 +37,3 @@ test_select_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB) test_select_fd_LDADD = $(LDADD) @LIBSOCKET@ test_select_stdin_LDADD = $(LDADD) @LIBSOCKET@ - -License: -LGPL
--- a/modules/signal-tests +++ b/modules/signal-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-signal check_PROGRAMS += test-signal - -License: -LGPL
--- a/modules/stdbool-tests +++ b/modules/stdbool-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-stdbool check_PROGRAMS += test-stdbool - -License: -LGPL
--- a/modules/stddef-tests +++ b/modules/stddef-tests @@ -9,6 +9,3 @@ Makefile.am: TESTS += test-stddef check_PROGRAMS += test-stddef - -License: -LGPL
--- a/modules/stdint-tests +++ b/modules/stdint-tests @@ -14,6 +14,3 @@ Makefile.am: TESTS += test-stdint check_PROGRAMS += test-stdint - -License: -LGPL
--- a/modules/stdio-tests +++ b/modules/stdio-tests @@ -9,6 +9,3 @@ Makefile.am: TESTS += test-stdio check_PROGRAMS += test-stdio - -License: -LGPL
--- a/modules/stdlib-tests +++ b/modules/stdlib-tests @@ -9,6 +9,3 @@ Makefile.am: TESTS += test-stdlib check_PROGRAMS += test-stdlib - -License: -LGPL
--- a/modules/string-tests +++ b/modules/string-tests @@ -9,6 +9,3 @@ Makefile.am: TESTS += test-string check_PROGRAMS += test-string - -License: -LGPL
--- a/modules/strings-tests +++ b/modules/strings-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-strings check_PROGRAMS += test-strings - -License: -LGPL
--- a/modules/sys_select-tests +++ b/modules/sys_select-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-sys_select check_PROGRAMS += test-sys_select - -License: -LGPL
--- a/modules/sys_socket-tests +++ b/modules/sys_socket-tests @@ -9,6 +9,3 @@ Makefile.am: TESTS += test-sys_socket check_PROGRAMS += test-sys_socket - -License: -LGPL
--- a/modules/sys_stat-tests +++ b/modules/sys_stat-tests @@ -9,6 +9,3 @@ Makefile.am: TESTS += test-sys_stat check_PROGRAMS += test-sys_stat - -License: -LGPL
--- a/modules/sys_time-tests +++ b/modules/sys_time-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-sys_time check_PROGRAMS += test-sys_time - -License: -LGPL
--- a/modules/sys_utsname-tests +++ b/modules/sys_utsname-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-sys_utsname check_PROGRAMS += test-sys_utsname - -License: -LGPL
--- a/modules/sysexits-tests +++ b/modules/sysexits-tests @@ -8,6 +8,3 @@ Makefile.am: TESTS += test-sysexits check_PROGRAMS += test-sysexits - -License: -LGPL
--- a/modules/time-tests +++ b/modules/time-tests @@ -9,6 +9,3 @@ Makefile.am: TESTS += test-time check_PROGRAMS += test-time - -License: -LGPL
--- a/modules/trunc-tests +++ b/modules/trunc-tests @@ -19,6 +19,3 @@ check_PROGRAMS += test-trunc1 test-trunc2 test_trunc1_LDADD = $(LDADD) @TRUNC_LIBM@ test_trunc2_LDADD = $(LDADD) @TRUNC_LIBM@ - -License: -LGPL
--- a/modules/truncf-tests +++ b/modules/truncf-tests @@ -19,6 +19,3 @@ check_PROGRAMS += test-truncf1 test-truncf2 test_truncf1_LDADD = $(LDADD) @TRUNCF_LIBM@ test_truncf2_LDADD = $(LDADD) @TRUNCF_LIBM@ - -License: -LGPL
--- a/modules/truncl-tests +++ b/modules/truncl-tests @@ -15,6 +15,3 @@ TESTS += test-truncl check_PROGRAMS += test-truncl test_truncl_LDADD = $(LDADD) @TRUNCL_LIBM@ - -License: -LGPL
--- a/modules/tsearch-tests +++ b/modules/tsearch-tests @@ -23,6 +23,3 @@ TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' check_PROGRAMS += test-tsearch test_tsearch_LDADD = $(LDADD) @TEST_TSEARCH_LIBM@ - -License: -LGPL
--- a/modules/unistd-tests +++ b/modules/unistd-tests @@ -9,6 +9,3 @@ Makefile.am: TESTS += test-unistd check_PROGRAMS += test-unistd - -License: -LGPL