summaryrefslogtreecommitdiff
path: root/tests/cp/r-vs-symlink
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-08-17 19:58:17 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-08-17 19:58:17 +0000
commit218fa5c61ba2f211b175aa943faa7eea286ff69e (patch)
treed54a459a9d5016a567e168b385cc3c4670f603ef /tests/cp/r-vs-symlink
parent23f176cae633cc795a8d7a0becb56ba1481f32ba (diff)
downloadcoreutils-218fa5c61ba2f211b175aa943faa7eea286ff69e.tar.xz
Add/fix copyright notices and adjust to latest GNU FDL.
Diffstat (limited to 'tests/cp/r-vs-symlink')
-rwxr-xr-xtests/cp/r-vs-symlink18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/cp/r-vs-symlink b/tests/cp/r-vs-symlink
index da50602ad..3869507d6 100755
--- a/tests/cp/r-vs-symlink
+++ b/tests/cp/r-vs-symlink
@@ -1,5 +1,23 @@
#!/bin/sh
# cp -r should not create symlinks. Fixed in fileutils-4.1.5.
+
+# Copyright (C) 2001, 2002, 2004 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.
+
# Restored old behavior (whereby cp -r preserves symlinks) in 4.1.6,
# though now such usage evokes a warning:
# cp: `slink': WARNING: using -r to copy symbolic links is not portable