summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-01-01 11:02:24 +0100
committerJim Meyering <meyering@redhat.com>2010-01-01 14:06:48 +0100
commit157c2bc55e7433bd3d79197f55d33b80f79eccf7 (patch)
tree97b366f345955c394b61a71526dc216ae9af0e96 /tests
parent1aa17dc89b3f313697661541adca0aa0defbdc09 (diff)
downloadcoreutils-157c2bc55e7433bd3d79197f55d33b80f79eccf7.tar.xz
maint: add a few copyrights; remove obsolete README file
* tests/README: Remove long-obsolete file. * tests/Makefile.am (EXTRA_DIST): Remove README. * tests/misc/truncate-dir-fail: Add copyright comment. * tests/misc/selinux: Likewise. * tests/misc/chcon: Likewise. * tests/misc/chcon-fail: Likewise. * tests/sample-test: Use only 2010 in this list.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am1
-rw-r--r--tests/README3
-rwxr-xr-xtests/misc/chcon15
-rwxr-xr-xtests/misc/chcon-fail15
-rwxr-xr-xtests/misc/selinux15
-rwxr-xr-xtests/misc/truncate-dir-fail15
-rw-r--r--tests/sample-test2
7 files changed, 61 insertions, 5 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 33b9df468..85503cc18 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -8,7 +8,6 @@ ASSORT = LC_ALL=C sort
EXTRA_DIST = \
Coreutils.pm \
CuTmpdir.pm \
- README \
check.mk \
envvar-check \
lang-default \
diff --git a/tests/README b/tests/README
deleted file mode 100644
index 58b11b4de..000000000
--- a/tests/README
+++ /dev/null
@@ -1,3 +0,0 @@
-A note about Makefile.am.in.
-It is used (usually only by the maintainer) to generate some of the
-Makefile.am files in these subdirectories.
diff --git a/tests/misc/chcon b/tests/misc/chcon
index 417163d27..72961b077 100755
--- a/tests/misc/chcon
+++ b/tests/misc/chcon
@@ -1,6 +1,21 @@
#!/bin/sh
# exercise chcon
+# Copyright (C) 2007-2010 Free Software Foundation, Inc.
+
+# 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 3 of the License, or
+# (at your option) any later version.
+
+# This program 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/>.
+
if test "$VERBOSE" = yes; then
set -x
chcon --version
diff --git a/tests/misc/chcon-fail b/tests/misc/chcon-fail
index 148549a87..e099256d0 100755
--- a/tests/misc/chcon-fail
+++ b/tests/misc/chcon-fail
@@ -2,6 +2,21 @@
# Ensure that chcon fails when it should.
# These tests don't use any actual SE Linux syscalls.
+# Copyright (C) 2007-2010 Free Software Foundation, Inc.
+
+# 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 3 of the License, or
+# (at your option) any later version.
+
+# This program 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/>.
+
if test "$VERBOSE" = yes; then
set -x
chcon --version
diff --git a/tests/misc/selinux b/tests/misc/selinux
index a56ad0612..3729024fa 100755
--- a/tests/misc/selinux
+++ b/tests/misc/selinux
@@ -1,6 +1,21 @@
#!/bin/sh
# Test SELinux-related options.
+# Copyright (C) 2007-2010 Free Software Foundation, Inc.
+
+# 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 3 of the License, or
+# (at your option) any later version.
+
+# This program 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/>.
+
if test "$VERBOSE" = yes; then
set -x
chcon --version
diff --git a/tests/misc/truncate-dir-fail b/tests/misc/truncate-dir-fail
index d1a67e4ba..d2ecf2fe6 100755
--- a/tests/misc/truncate-dir-fail
+++ b/tests/misc/truncate-dir-fail
@@ -1,6 +1,21 @@
#!/bin/sh
# Make sure truncate fails for a directory.
+# Copyright (C) 2008-2010 Free Software Foundation, Inc.
+
+# 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 3 of the License, or
+# (at your option) any later version.
+
+# This program 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/>.
+
if test "$VERBOSE" = yes; then
set -x
truncate --version
diff --git a/tests/sample-test b/tests/sample-test
index 0bcc2efbb..85a61cf54 100644
--- a/tests/sample-test
+++ b/tests/sample-test
@@ -1,7 +1,7 @@
#!/bin/sh
# FIXME
-# Copyright (C) 2009-2010 Free Software Foundation, Inc.
+# Copyright (C) 2010 Free Software Foundation, Inc.
# 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