summaryrefslogtreecommitdiff
path: root/tests/chgrp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/chgrp')
-rwxr-xr-xtests/chgrp/basic18
-rwxr-xr-xtests/chgrp/deref17
-rwxr-xr-xtests/chgrp/no-x17
-rwxr-xr-xtests/chgrp/posix-H17
-rwxr-xr-xtests/chgrp/recurse17
5 files changed, 86 insertions, 0 deletions
diff --git a/tests/chgrp/basic b/tests/chgrp/basic
index d4971194c..21cbe01b4 100755
--- a/tests/chgrp/basic
+++ b/tests/chgrp/basic
@@ -1,6 +1,24 @@
#!/bin/sh
# make sure chgrp is reasonable
+# Copyright (C) 2000, 2001, 2003, 2004, 2005, 2006 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 2 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, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
if test "$VERBOSE" = yes; then
set -x
chgrp --version
diff --git a/tests/chgrp/deref b/tests/chgrp/deref
index ff215125c..b15d0c380 100755
--- a/tests/chgrp/deref
+++ b/tests/chgrp/deref
@@ -1,6 +1,23 @@
#!/bin/sh
# see if chgrp can change the group of a symlink
+# Copyright (C) 2000, 2004, 2005 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 2 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, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
if test "$VERBOSE" = yes; then
set -x
chgrp --version
diff --git a/tests/chgrp/no-x b/tests/chgrp/no-x
index e66a57784..d82002c61 100755
--- a/tests/chgrp/no-x
+++ b/tests/chgrp/no-x
@@ -2,6 +2,23 @@
# Make sure chgrp gives the right diagnostic for a readable,
# but inaccessible directory.
+# Copyright (C) 2003, 2006 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 2 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, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
if test "$VERBOSE" = yes; then
set -x
chgrp --version
diff --git a/tests/chgrp/posix-H b/tests/chgrp/posix-H
index e9736968d..147bb5224 100755
--- a/tests/chgrp/posix-H
+++ b/tests/chgrp/posix-H
@@ -1,6 +1,23 @@
#!/bin/sh
# Test POSIX-mandated -H option.
+# Copyright (C) 2003, 2004, 2005 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 2 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, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
if test "$VERBOSE" = yes; then
set -x
chgrp --version
diff --git a/tests/chgrp/recurse b/tests/chgrp/recurse
index 7cd1648e2..23f040d34 100755
--- a/tests/chgrp/recurse
+++ b/tests/chgrp/recurse
@@ -1,6 +1,23 @@
#!/bin/sh
# ad-hoc tests of chgrp with -R and -H or -L and symlinks
+# Copyright (C) 2000, 2003, 2004, 2005 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 2 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, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
if test "$VERBOSE" = yes; then
set -x
chgrp --version