Repository : http://git.fedorahosted.org/cgit/kernel-tests.git On branch : master >--------------------------------------------------------------- commit 07591b795c64df1b3f07f27ace1d46a02c4f378a Author: Josh Boyer <jwboyer@xxxxxxxxxx> Date: Mon Feb 24 16:20:47 2014 -0500 Add GPLv2 licensing information for testcase control scripts Be sure to note that individual testcases and code may be licensed under different terms. >--------------------------------------------------------------- performance/lmbench3/COPYING => LICENSE | 39 ++++++++++++++++++------------ default/cachedrop/runtest.sh | 2 + default/defaultpass/runtest.sh.example | 2 + default/libhugetlbfs/runtest.sh | 2 + default/modsign/modsign_tests.sh | 2 + default/modsign/runtest.sh | 2 + default/paxtest/runtest.sh | 2 + default/stack-randomness/runtest.sh | 3 ++ default/sysfs-perms/runtest.sh | 2 + default/timer-overhead/runtest.sh | 2 + destructive/destructivepass/runtest.sh | 2 + minimal/minimalfail/runtest.sh.example | 2 + minimal/minimalpass/runtest.sh.example | 2 + minimal/minimalskip/runtest.sh.example | 2 + performance/lmbench3/runtest.sh | 2 + runtests.sh | 2 + stress/ltp/diostress.sh | 2 + stress/ltp/fsstress.sh | 2 + stress/ltp/ipcstress.sh | 2 + stress/ltp/mmstress.sh | 2 + stress/ltp/runtest.sh | 2 + stress/stresspass/runtest.sh | 2 + utils/build-deps.sh | 2 + utils/loopback.sh | 2 + utils/mod-check.sh | 2 + utils/root-check.sh | 2 + 26 files changed, 74 insertions(+), 16 deletions(-) diff --git a/performance/lmbench3/COPYING b/LICENSE similarity index 93% copy from performance/lmbench3/COPYING copy to LICENSE index a43ea21..510a572 100644 --- a/performance/lmbench3/COPYING +++ b/LICENSE @@ -1,12 +1,19 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 +The framework and scripts contained in the kernel-tests package are licensed +under the GNU General Public License, version 2. Individual test cases or +code may be licensed under different terms and will be noted in the +directories or files of those test cases. A copy of GPLv2 is included below. - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 675 Mass Ave, Cambridge, MA 02139, USA +------------------------------------------------------------------------------- + + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. - Preamble + Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public @@ -15,7 +22,7 @@ software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to +the GNU Lesser General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not @@ -56,7 +63,7 @@ patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. - GNU GENERAL PUBLIC LICENSE + GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains @@ -255,7 +262,7 @@ make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. - NO WARRANTY + NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN @@ -277,9 +284,9 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - END OF TERMS AND CONDITIONS + END OF TERMS AND CONDITIONS - Appendix: How to Apply These Terms to Your New Programs + How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it @@ -291,7 +298,7 @@ convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. <one line to give the program's name and a brief idea of what it does.> - Copyright (C) 19yy <name of author> + Copyright (C) <year> <name of author> 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 @@ -303,16 +310,16 @@ the "copyright" line and a pointer to where the full notice is found. 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, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: - Gnomovision version 69, Copyright (C) 19yy name of author + Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. @@ -335,5 +342,5 @@ necessary. Here is a sample; alter the names: This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General +library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. diff --git a/default/cachedrop/runtest.sh b/default/cachedrop/runtest.sh index e565dea..aac8623 100755 --- a/default/cachedrop/runtest.sh +++ b/default/cachedrop/runtest.sh @@ -1,4 +1,6 @@ #!/bin/sh +# +# Licensed under the terms of the GNU GPL License version 2 source ../../utils/root-check.sh diff --git a/default/defaultpass/runtest.sh.example b/default/defaultpass/runtest.sh.example index b44a7a7..729175f 100755 --- a/default/defaultpass/runtest.sh.example +++ b/default/defaultpass/runtest.sh.example @@ -1,4 +1,6 @@ #!/bin/bash +# +# Licensed under the terms of the GNU GPL License version 2 echo "sample test from the default directory, should always pass" diff --git a/default/libhugetlbfs/runtest.sh b/default/libhugetlbfs/runtest.sh index 88a45ca..18fa2c1 100755 --- a/default/libhugetlbfs/runtest.sh +++ b/default/libhugetlbfs/runtest.sh @@ -1,4 +1,6 @@ #!/bin/sh +# +# Licensed under the terms of the GNU GPL License version 2 source ../../utils/root-check.sh diff --git a/default/modsign/modsign_tests.sh b/default/modsign/modsign_tests.sh index c29124f..b0bab67 100755 --- a/default/modsign/modsign_tests.sh +++ b/default/modsign/modsign_tests.sh @@ -1,4 +1,6 @@ #!/bin/bash +# +# Licensed under the terms of the GNU GPL License version 2 modsign_check_modules() { diff --git a/default/modsign/runtest.sh b/default/modsign/runtest.sh index c6e2451..9907bb0 100755 --- a/default/modsign/runtest.sh +++ b/default/modsign/runtest.sh @@ -1,4 +1,6 @@ #!/bin/sh +# +# Licensed under the terms of the GNU GPL License version 2 source ../../utils/root-check.sh diff --git a/default/paxtest/runtest.sh b/default/paxtest/runtest.sh index 0e8e8b1..8b44626 100755 --- a/default/paxtest/runtest.sh +++ b/default/paxtest/runtest.sh @@ -1,4 +1,6 @@ #!/bin/sh +# +# Licensed under the terms of the GNU GPL License version 2 check_kill() { diff --git a/default/stack-randomness/runtest.sh b/default/stack-randomness/runtest.sh index ac519a7..77d17de 100755 --- a/default/stack-randomness/runtest.sh +++ b/default/stack-randomness/runtest.sh @@ -1,4 +1,7 @@ #!/bin/sh +# +# Licensed under the terms of the GNU GPL License version 2 + COUNT=$(for i in `seq 1 1000` ; do grep stack /proc/self/maps; done | sort -u | uniq -c | wc -l) if [ $COUNT -lt 950 ]; then diff --git a/default/sysfs-perms/runtest.sh b/default/sysfs-perms/runtest.sh index 69f5e6b..351af76 100755 --- a/default/sysfs-perms/runtest.sh +++ b/default/sysfs-perms/runtest.sh @@ -1,4 +1,6 @@ #!/bin/sh +# +# Licensed under the terms of the GNU GPL License version 2 COUNT=$(find /sys -type f -perm 666 | ./ignore-files.sh | wc -l) diff --git a/default/timer-overhead/runtest.sh b/default/timer-overhead/runtest.sh index ac43f9c..42b37df 100755 --- a/default/timer-overhead/runtest.sh +++ b/default/timer-overhead/runtest.sh @@ -1,4 +1,6 @@ #!/bin/sh +# +# Licensed under the terms of the GNU GPL License version 2 if [ ! -f ./timer-test ]; then make diff --git a/destructive/destructivepass/runtest.sh b/destructive/destructivepass/runtest.sh index 53a6967..e1fae7d 100755 --- a/destructive/destructivepass/runtest.sh +++ b/destructive/destructivepass/runtest.sh @@ -1,4 +1,6 @@ #!/bin/bash +# +# Licensed under the terms of the GNU GPL License version 2 echo "sample test from the destructive directory, should always pass" diff --git a/minimal/minimalfail/runtest.sh.example b/minimal/minimalfail/runtest.sh.example index 1efb53e..d957453 100755 --- a/minimal/minimalfail/runtest.sh.example +++ b/minimal/minimalfail/runtest.sh.example @@ -1,4 +1,6 @@ #!/bin/bash +# +# Licensed under the terms of the GNU GPL License version 2 echo "sample test from the minimal directory, should always fail" diff --git a/minimal/minimalpass/runtest.sh.example b/minimal/minimalpass/runtest.sh.example index 20905d4..783e6dc 100755 --- a/minimal/minimalpass/runtest.sh.example +++ b/minimal/minimalpass/runtest.sh.example @@ -1,4 +1,6 @@ #!/bin/bash +# +# Licensed under the terms of the GNU GPL License version 2 echo "sample test from the minimal directory, should always pass" diff --git a/minimal/minimalskip/runtest.sh.example b/minimal/minimalskip/runtest.sh.example index bc139dc..0e59579 100755 --- a/minimal/minimalskip/runtest.sh.example +++ b/minimal/minimalskip/runtest.sh.example @@ -1,4 +1,6 @@ #!/bin/bash +# +# Licensed under the terms of the GNU GPL License version 2 echo "sample test from the minimal directory, should always skip" diff --git a/performance/lmbench3/runtest.sh b/performance/lmbench3/runtest.sh index 3a81c6d..87b211d 100755 --- a/performance/lmbench3/runtest.sh +++ b/performance/lmbench3/runtest.sh @@ -1,4 +1,6 @@ #!/bin/sh +# +# Licensed under the terms of the GNU GPL License version 2 if [ -f bin/$(uname -m)-linux-gnu/$(scripts/config) ]; then make rerun diff --git a/runtests.sh b/runtests.sh index b3f7de0..1d9ad98 100755 --- a/runtests.sh +++ b/runtests.sh @@ -1,4 +1,6 @@ #!/bin/bash +# +# Licensed under the terms of the GNU GPL License version 2 date=$(date +%s) topdir=$(pwd) diff --git a/stress/ltp/diostress.sh b/stress/ltp/diostress.sh index 0bbde18..bc907de 100755 --- a/stress/ltp/diostress.sh +++ b/stress/ltp/diostress.sh @@ -1,4 +1,6 @@ #!/bin/bash +# +# Licensed under the terms of the GNU GPL License version 2 source ../../utils/loopback.sh diff --git a/stress/ltp/fsstress.sh b/stress/ltp/fsstress.sh index d4ba22f..371dcb8 100755 --- a/stress/ltp/fsstress.sh +++ b/stress/ltp/fsstress.sh @@ -1,4 +1,6 @@ #!/bin/bash +# +# Licensed under the terms of the GNU GPL License version 2 #set -e diff --git a/stress/ltp/ipcstress.sh b/stress/ltp/ipcstress.sh index 5388f66..c84f592 100755 --- a/stress/ltp/ipcstress.sh +++ b/stress/ltp/ipcstress.sh @@ -1,4 +1,6 @@ #!/bin/bash +# +# Licensed under the terms of the GNU GPL License version 2 pushd ltp/testcases/kernel/ipc/ipc_stress ./testall diff --git a/stress/ltp/mmstress.sh b/stress/ltp/mmstress.sh index 7e81563..0c5ad44 100755 --- a/stress/ltp/mmstress.sh +++ b/stress/ltp/mmstress.sh @@ -1,4 +1,6 @@ #!/bin/bash +# +# Licensed under the terms of the GNU GPL License version 2 set -e diff --git a/stress/ltp/runtest.sh b/stress/ltp/runtest.sh index e2a4560..3e4ec2f 100755 --- a/stress/ltp/runtest.sh +++ b/stress/ltp/runtest.sh @@ -1,4 +1,6 @@ #!/bin/bash +# +# Licensed under the terms of the GNU GPL License version 2 source ../../utils/root-check.sh source ../../utils/build-deps.sh diff --git a/stress/stresspass/runtest.sh b/stress/stresspass/runtest.sh index 1bebc72..cd7c75b 100755 --- a/stress/stresspass/runtest.sh +++ b/stress/stresspass/runtest.sh @@ -1,4 +1,6 @@ #!/bin/bash +# +# Licensed under the terms of the GNU GPL License version 2 echo "sample test from the stress directory, should always pass" diff --git a/utils/build-deps.sh b/utils/build-deps.sh index 5754fdc..d85eece 100644 --- a/utils/build-deps.sh +++ b/utils/build-deps.sh @@ -1,4 +1,6 @@ #!/bin/bash +# +# Licensed under the terms of the GNU GPL License version 2 install_dep() { yum install -y $1; diff --git a/utils/loopback.sh b/utils/loopback.sh index 3179c43..dbc9f5a 100644 --- a/utils/loopback.sh +++ b/utils/loopback.sh @@ -1,4 +1,6 @@ #!/bin/bash +# +# Licensed under the terms of the GNU GPL License version 2 create_sparse_file() { dd if=/dev/zero of=$1 bs=1 count=0 seek=$2M ; diff --git a/utils/mod-check.sh b/utils/mod-check.sh index f706ee0..9815e9b 100644 --- a/utils/mod-check.sh +++ b/utils/mod-check.sh @@ -1,4 +1,6 @@ #!/bin/bash +# +# Licensed under the terms of the GNU GPL License version 2 # This function will check to see if a module is loaded. It is usefule # for tests which require specific modules or hardware. If a module diff --git a/utils/root-check.sh b/utils/root-check.sh index 9014e44..b8d0314 100644 --- a/utils/root-check.sh +++ b/utils/root-check.sh @@ -1,4 +1,6 @@ #!/bin/bash +# +# Licensed under the terms of the GNU GPL License version 2 check_root() { if [ $(id -u) -ne 0 ] _______________________________________________ kernel mailing list kernel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/kernel