summaryrefslogtreecommitdiff
path: root/tests/misc/chcon-fail
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/misc/chcon-fail
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/misc/chcon-fail')
-rwxr-xr-xtests/misc/chcon-fail15
1 files changed, 15 insertions, 0 deletions
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