diff options
Diffstat (limited to 'tests/cp')
38 files changed, 38 insertions, 41 deletions
diff --git a/tests/cp/abuse b/tests/cp/abuse index 8187392b5..285c53157 100755 --- a/tests/cp/abuse +++ b/tests/cp/abuse @@ -1,7 +1,7 @@ #!/bin/sh # ensure that cp does not write through a just-copied symlink -# Copyright (C) 2007-2008 Free Software Foundation, Inc. +# Copyright (C) 2007-2009 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 diff --git a/tests/cp/acl b/tests/cp/acl index b212d0de2..2f8742880 100755 --- a/tests/cp/acl +++ b/tests/cp/acl @@ -2,7 +2,7 @@ # copy files/directories across file system boundaries # and make sure acls are preserved appropriately -# Copyright (C) 2005-2008 Free Software Foundation, Inc. +# Copyright (C) 2005-2009 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 diff --git a/tests/cp/backup-1 b/tests/cp/backup-1 index 830e4abb5..cc19f938c 100755 --- a/tests/cp/backup-1 +++ b/tests/cp/backup-1 @@ -1,7 +1,7 @@ #!/bin/sh # Test cp backup. -# Copyright (C) 1997, 1999, 2002, 2004, 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 1997, 1999, 2002, 2004, 2006-2009 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 diff --git a/tests/cp/backup-dir b/tests/cp/backup-dir index 313ec40a7..9f0d0d719 100755 --- a/tests/cp/backup-dir +++ b/tests/cp/backup-dir @@ -1,7 +1,7 @@ #!/bin/sh # Ensure that cp -b doesn't back up directories. -# Copyright (C) 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 2006-2009 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 diff --git a/tests/cp/backup-is-src b/tests/cp/backup-is-src index bc91d6666..bf03e590a 100755 --- a/tests/cp/backup-is-src +++ b/tests/cp/backup-is-src @@ -1,7 +1,7 @@ #!/bin/sh # Test cp backup to source file. -# Copyright (C) 1998-2000, 2002, 2004, 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 1998-2000, 2002, 2004, 2006-2009 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 diff --git a/tests/cp/cp-HL b/tests/cp/cp-HL index 09257fb00..17fff79b9 100755 --- a/tests/cp/cp-HL +++ b/tests/cp/cp-HL @@ -1,7 +1,7 @@ #!/bin/sh # test cp's -H and -L options -# Copyright (C) 2000, 2002, 2004, 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 2000, 2002, 2004, 2006-2009 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 diff --git a/tests/cp/cp-deref b/tests/cp/cp-deref index 1f7edd8ea..5868fa207 100755 --- a/tests/cp/cp-deref +++ b/tests/cp/cp-deref @@ -2,7 +2,7 @@ # cp -RL dir1 dir2' must handle the case in which each of dir1 and dir2 # contain a symlink pointing to some third directory. -# Copyright (C) 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 2006-2009 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 diff --git a/tests/cp/cp-mv-backup b/tests/cp/cp-mv-backup index a8c55c9b3..d179d6617 100755 --- a/tests/cp/cp-mv-backup +++ b/tests/cp/cp-mv-backup @@ -1,7 +1,7 @@ #!/bin/sh # Test basic --backup functionality for both cp and mv. -# Copyright (C) 1999, 2000, 2002, 2004, 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 1999, 2000, 2002, 2004, 2006-2009 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 diff --git a/tests/cp/cp-parents b/tests/cp/cp-parents index f4130e668..da04c451f 100755 --- a/tests/cp/cp-parents +++ b/tests/cp/cp-parents @@ -2,8 +2,7 @@ # cp -R --parents dir-specified-with-trailing-slash/ other-dir # would get a failed assertion. -# Copyright (C) 2000, 2002, 2004, 2005, 2006-2008 Free Software -# Foundation, Inc. +# Copyright (C) 2000, 2002, 2004-2009 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 diff --git a/tests/cp/deref-slink b/tests/cp/deref-slink index 112802745..d37cb1152 100755 --- a/tests/cp/deref-slink +++ b/tests/cp/deref-slink @@ -2,7 +2,7 @@ # Demonstrate bug when using -d with an existing destination file # that is a symlink. -# Copyright (C) 2000, 2002, 2004, 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 2000, 2002, 2004, 2006-2009 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 diff --git a/tests/cp/dir-rm-dest b/tests/cp/dir-rm-dest index 4e540bc7a..c5429d72c 100755 --- a/tests/cp/dir-rm-dest +++ b/tests/cp/dir-rm-dest @@ -1,7 +1,7 @@ #!/bin/sh # verify that cp's --remove-destination option works with -R -# Copyright (C) 2000, 2002, 2004, 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 2000, 2002, 2004, 2006-2009 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 diff --git a/tests/cp/dir-slash b/tests/cp/dir-slash index db6e17cb9..0c1e282a9 100755 --- a/tests/cp/dir-slash +++ b/tests/cp/dir-slash @@ -2,7 +2,7 @@ # Make sure that cp -R DIR1 DIR2 does the right thing # when DIR1 is written with a trailing slash. -# Copyright (C) 2000, 2002, 2004, 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 2000, 2002, 2004, 2006-2009 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 diff --git a/tests/cp/dir-vs-file b/tests/cp/dir-vs-file index 50b940a43..7e5e9d001 100755 --- a/tests/cp/dir-vs-file +++ b/tests/cp/dir-vs-file @@ -1,7 +1,7 @@ #!/bin/sh # A directory may not replace an existing file. -# Copyright (C) 2001, 2002, 2004, 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 2001, 2002, 2004, 2006-2009 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 diff --git a/tests/cp/existing-perm-race b/tests/cp/existing-perm-race index d1bc76845..e7166a717 100755 --- a/tests/cp/existing-perm-race +++ b/tests/cp/existing-perm-race @@ -1,7 +1,7 @@ #!/bin/sh # Make sure cp -p isn't too generous with existing file permissions. -# Copyright (C) 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 2006-2009 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 diff --git a/tests/cp/fail-perm b/tests/cp/fail-perm index bf37ee8d1..f47066504 100755 --- a/tests/cp/fail-perm +++ b/tests/cp/fail-perm @@ -1,7 +1,6 @@ #!/bin/sh -# Copyright (C) 2000, 2002-2008 Free Software -# Foundation, Inc. +# Copyright (C) 2000, 2002-2009 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 diff --git a/tests/cp/file-perm-race b/tests/cp/file-perm-race index 9745a1476..1ff2746c2 100755 --- a/tests/cp/file-perm-race +++ b/tests/cp/file-perm-race @@ -1,7 +1,7 @@ #!/bin/sh # Make sure cp -p isn't too generous with file permissions. -# Copyright (C) 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 2006-2009 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 diff --git a/tests/cp/link b/tests/cp/link index 20b2eed0d..d9cf4f827 100755 --- a/tests/cp/link +++ b/tests/cp/link @@ -2,7 +2,7 @@ # Make sure cp --link -f works when the target exists. # This failed for 4.0z (due to a bug introduced in that test release). -# Copyright (C) 2000, 2002, 2004, 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 2000, 2002, 2004, 2006-2009 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 diff --git a/tests/cp/link-heap b/tests/cp/link-heap index 7aa142db9..4e93a2e4e 100755 --- a/tests/cp/link-heap +++ b/tests/cp/link-heap @@ -1,7 +1,7 @@ #!/bin/sh # ensure that cp --preserve=link --link doesn't waste heap -# Copyright (C) 2008 Free Software Foundation, Inc. +# Copyright (C) 2008-2009 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 diff --git a/tests/cp/link-no-deref b/tests/cp/link-no-deref index 561aa6a2b..d71a114e1 100755 --- a/tests/cp/link-no-deref +++ b/tests/cp/link-no-deref @@ -1,7 +1,7 @@ #!/bin/sh # Ensure that cp --link --no-dereference works properly -# Copyright (C) 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 2006-2009 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 diff --git a/tests/cp/link-preserve b/tests/cp/link-preserve index fbde3ffe7..fcaef2d8e 100755 --- a/tests/cp/link-preserve +++ b/tests/cp/link-preserve @@ -2,7 +2,7 @@ # ensure that `cp -d' preserves hard-links between command line arguments # ensure that --preserve=links works with -RH and -RL -# Copyright (C) 2001, 2002, 2004, 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 2001, 2002, 2004, 2006-2009 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 diff --git a/tests/cp/no-deref-link1 b/tests/cp/no-deref-link1 index f18ae0374..86164ecc0 100755 --- a/tests/cp/no-deref-link1 +++ b/tests/cp/no-deref-link1 @@ -1,7 +1,7 @@ #!/bin/sh # cp from 3.16 fails this test -# Copyright (C) 1997, 1999, 2002, 2004, 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 1997, 1999, 2002, 2004, 2006-2009 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 diff --git a/tests/cp/no-deref-link2 b/tests/cp/no-deref-link2 index 8fbf9bff8..f323d6bd1 100755 --- a/tests/cp/no-deref-link2 +++ b/tests/cp/no-deref-link2 @@ -1,7 +1,7 @@ #!/bin/sh # cp from 3.16 fails this test -# Copyright (C) 1997, 1999, 2002, 2004, 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 1997, 1999, 2002, 2004, 2006-2009 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 diff --git a/tests/cp/no-deref-link3 b/tests/cp/no-deref-link3 index a177bacf2..353e3ce05 100755 --- a/tests/cp/no-deref-link3 +++ b/tests/cp/no-deref-link3 @@ -1,7 +1,7 @@ #!/bin/sh # cp from 3.16 fails this test -# Copyright (C) 1997, 1999, 2002, 2004, 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 1997, 1999, 2002, 2004, 2006-2009 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 diff --git a/tests/cp/parent-perm b/tests/cp/parent-perm index 01ca2b811..fe1304105 100755 --- a/tests/cp/parent-perm +++ b/tests/cp/parent-perm @@ -1,7 +1,7 @@ #!/bin/sh # Ensure that cp --parents works properly with a preexisting dest. directory -# Copyright (C) 2008 Free Software Foundation, Inc. +# Copyright (C) 2008-2009 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 diff --git a/tests/cp/parent-perm-race b/tests/cp/parent-perm-race index 196a40549..186e7b2fb 100755 --- a/tests/cp/parent-perm-race +++ b/tests/cp/parent-perm-race @@ -1,7 +1,7 @@ #!/bin/sh # Make sure cp -pR --parents isn't too generous with parent permissions. -# Copyright (C) 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 2006-2009 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 diff --git a/tests/cp/perm b/tests/cp/perm index 8073ac005..11c4b3ba1 100755 --- a/tests/cp/perm +++ b/tests/cp/perm @@ -1,7 +1,7 @@ #!/bin/sh # Make sure the permission-preserving code in copy.c (mv, cp, install) works. -# Copyright (C) 2000, 2002, 2004-2008 Free Software Foundation, Inc. +# Copyright (C) 2000, 2002, 2004-2009 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 diff --git a/tests/cp/preserve-2 b/tests/cp/preserve-2 index 19cb5fd9c..f2739a3e6 100755 --- a/tests/cp/preserve-2 +++ b/tests/cp/preserve-2 @@ -1,7 +1,7 @@ #!/bin/sh # ensure that cp's --preserve=X,Y option is parsed properly -# Copyright (C) 2002, 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 2002, 2006-2009 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 diff --git a/tests/cp/preserve-gid b/tests/cp/preserve-gid index 2fb738438..1f3f10b88 100755 --- a/tests/cp/preserve-gid +++ b/tests/cp/preserve-gid @@ -1,7 +1,7 @@ #!/bin/sh # Verify that cp -p preserves GID when it is possible. -# Copyright (C) 2007-2008 Free Software Foundation, Inc. +# Copyright (C) 2007-2009 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 diff --git a/tests/cp/proc-zero-len b/tests/cp/proc-zero-len index 586720a68..9103d8a0a 100755 --- a/tests/cp/proc-zero-len +++ b/tests/cp/proc-zero-len @@ -1,7 +1,7 @@ #!/bin/sh # Ensure that cp copies contents of non-empty "regular" file with st_size==0 -# Copyright (C) 2007-2008 Free Software Foundation, Inc. +# Copyright (C) 2007-2009 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 diff --git a/tests/cp/r-vs-symlink b/tests/cp/r-vs-symlink index 8596bb729..4b4e63586 100755 --- a/tests/cp/r-vs-symlink +++ b/tests/cp/r-vs-symlink @@ -1,7 +1,7 @@ #!/bin/sh # cp -r should not create symlinks. Fixed in fileutils-4.1.5. -# Copyright (C) 2001, 2002, 2004, 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 2001, 2002, 2004, 2006-2009 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 diff --git a/tests/cp/same-file b/tests/cp/same-file index 58b8fbae2..1556011aa 100755 --- a/tests/cp/same-file +++ b/tests/cp/same-file @@ -2,8 +2,7 @@ # Test some of cp's options and how cp handles situations in # which a naive implementation might overwrite the source file. -# Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004, 2006-2008 Free Software -# Foundation, Inc. +# Copyright (C) 1998-2000, 2002-2004, 2006-2009 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 diff --git a/tests/cp/slink-2-slink b/tests/cp/slink-2-slink index 4fc0ef50a..ed755bc13 100755 --- a/tests/cp/slink-2-slink +++ b/tests/cp/slink-2-slink @@ -2,7 +2,7 @@ # `test cp --update A B' where A and B are both symlinks that point # to the same file -# Copyright (C) 2000, 2002, 2004, 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 2000, 2002, 2004, 2006-2009 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 diff --git a/tests/cp/sparse b/tests/cp/sparse index e07f05130..bd1a84f40 100755 --- a/tests/cp/sparse +++ b/tests/cp/sparse @@ -1,7 +1,7 @@ #!/bin/sh # Test cp --sparse=always -# Copyright (C) 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 2006-2009 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 diff --git a/tests/cp/special-bits b/tests/cp/special-bits index ef7755bd4..eaacd1475 100755 --- a/tests/cp/special-bits +++ b/tests/cp/special-bits @@ -2,7 +2,7 @@ # make sure `cp -p' preserves special bits # This works only when run as root. -# Copyright (C) 2000-2002, 2004, 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 2000-2002, 2004, 2006-2009 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 diff --git a/tests/cp/special-f b/tests/cp/special-f index 0556f01a7..c2641dbbe 100755 --- a/tests/cp/special-f +++ b/tests/cp/special-f @@ -2,7 +2,7 @@ # Ensure that "cp -Rf fifo E" unlinks E and retries. # Up until coreutils-6.10.171, it would not. -# Copyright (C) 2008 Free Software Foundation, Inc. +# Copyright (C) 2008-2009 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 diff --git a/tests/cp/src-base-dot b/tests/cp/src-base-dot index 5552944bb..1b0ee7ada 100755 --- a/tests/cp/src-base-dot +++ b/tests/cp/src-base-dot @@ -1,7 +1,7 @@ #!/bin/sh # Ensure that "mkdir x y; cd y; cp -ab ../x/. ." is a successful, silent, no-op. -# Copyright (C) 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 2006-2009 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 diff --git a/tests/cp/symlink-slash b/tests/cp/symlink-slash index 16b1c2669..a821e7ec0 100755 --- a/tests/cp/symlink-slash +++ b/tests/cp/symlink-slash @@ -2,7 +2,7 @@ # Make sure that cp -dR dereferences a symlink arg if its name is # written with a trailing slash. -# Copyright (C) 2000, 2002, 2004, 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 2000, 2002, 2004, 2006-2009 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 diff --git a/tests/cp/thru-dangling b/tests/cp/thru-dangling index d7bffd8e0..b2a5d7449 100755 --- a/tests/cp/thru-dangling +++ b/tests/cp/thru-dangling @@ -1,7 +1,7 @@ #!/bin/sh # Ensure that cp works as documented, when the destination is a dangling symlink -# Copyright (C) 2007-2008 Free Software Foundation, Inc. +# Copyright (C) 2007-2009 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 |