summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vg-suppressions2
-rw-r--r--COPYING2
-rw-r--r--ChangeLog4
-rw-r--r--GNUmakefile2
-rw-r--r--Makefile.am2
-rw-r--r--Makefile.cfg2
-rw-r--r--Makefile.maint2
-rw-r--r--README-hacking2
-rw-r--r--README-valgrind2
-rw-r--r--TODO2
-rwxr-xr-xbootstrap2
-rw-r--r--bootstrap.conf2
-rwxr-xr-xbuild-aux/cvsu2
-rwxr-xr-xbuild-aux/vc-list-files2
-rw-r--r--configure.ac2
-rw-r--r--doc/Makefile.am2
-rw-r--r--gl/lib/base64.c2
-rw-r--r--gl/lib/base64.h2
-rw-r--r--gl/lib/mgetgroups.c2
-rw-r--r--gl/lib/mgetgroups.h2
-rw-r--r--gl/lib/root-dev-ino.c2
-rw-r--r--gl/lib/root-dev-ino.h2
-rw-r--r--gl/lib/selinux-at.c2
-rw-r--r--gl/lib/selinux-at.h2
-rw-r--r--lib/Makefile.am2
-rw-r--r--lib/buffer-lcm.c2
-rw-r--r--lib/euidaccess-stat.c2
-rw-r--r--lib/fd-reopen.c2
-rw-r--r--lib/fd-reopen.h2
-rw-r--r--lib/fdopendir-glibc.c2
-rw-r--r--lib/memxfrm.c2
-rw-r--r--lib/rand-isaac.c2
-rw-r--r--lib/rand-isaac.h2
-rw-r--r--lib/randint.c2
-rw-r--r--lib/randint.h2
-rw-r--r--lib/randperm.c2
-rw-r--r--lib/randread.c2
-rw-r--r--lib/randread.h2
-rw-r--r--lib/search_.h2
-rw-r--r--lib/sha256.c2
-rw-r--r--lib/sha256.h2
-rw-r--r--lib/sha512.c2
-rw-r--r--lib/sha512.h2
-rw-r--r--lib/stdopen.c2
-rw-r--r--lib/strintcmp.c2
-rw-r--r--lib/strnumcmp-in.h2
-rw-r--r--lib/strnumcmp.c2
-rwxr-xr-xlib/t-chdir-long2
-rw-r--r--lib/t-fpending.c2
-rw-r--r--lib/u64.h2
-rw-r--r--lib/xfts.c2
-rw-r--r--lib/xmemxfrm.c2
-rw-r--r--m4/boottime.m42
-rw-r--r--m4/jm-macros.m42
-rw-r--r--m4/lib-check.m42
-rw-r--r--m4/prereq.m42
-rw-r--r--m4/stat-prog.m42
-rw-r--r--man/Makefile.am2
-rwxr-xr-xman/help2man2
-rw-r--r--src/Makefile.am2
-rw-r--r--src/base64.c2
-rw-r--r--src/basename.c2
-rw-r--r--src/cat.c2
-rw-r--r--src/chcon.c2
-rw-r--r--src/chgrp.c2
-rw-r--r--src/chmod.c2
-rw-r--r--src/chown-core.c2
-rw-r--r--src/chown-core.h2
-rw-r--r--src/chown.c2
-rw-r--r--src/chroot.c2
-rw-r--r--src/cksum.c2
-rw-r--r--src/comm.c2
-rw-r--r--src/copy.c2
-rw-r--r--src/copy.h2
-rw-r--r--src/cp-hash.c2
-rw-r--r--src/cp.c2
-rw-r--r--src/csplit.c2
-rw-r--r--src/cut.c2
-rw-r--r--src/date.c2
-rwxr-xr-xsrc/dcgen2
-rw-r--r--src/dd.c2
-rw-r--r--src/df.c2
-rw-r--r--src/dircolors.c2
-rw-r--r--src/dirname.c2
-rwxr-xr-xsrc/du-tests2
-rw-r--r--src/du.c2
-rw-r--r--src/echo.c2
-rw-r--r--src/env.c2
-rw-r--r--src/expand.c2
-rw-r--r--src/expr.c2
-rw-r--r--src/extract-magic2
-rw-r--r--src/factor.c2
-rw-r--r--src/fmt.c2
-rw-r--r--src/fold.c2
-rwxr-xr-xsrc/groups.sh2
-rw-r--r--src/head.c2
-rw-r--r--src/hostid.c2
-rw-r--r--src/hostname.c2
-rw-r--r--src/id.c2
-rw-r--r--src/install.c2
-rw-r--r--src/join.c2
-rw-r--r--src/kill.c2
-rw-r--r--src/link.c2
-rw-r--r--src/ln.c2
-rw-r--r--src/logname.c2
-rw-r--r--src/ls.c2
-rw-r--r--src/md5sum.c2
-rw-r--r--src/mkdir.c2
-rw-r--r--src/mkfifo.c2
-rw-r--r--src/mknod.c2
-rw-r--r--src/mv.c2
-rw-r--r--src/nice.c2
-rw-r--r--src/nl.c2
-rw-r--r--src/nohup.c2
-rw-r--r--src/od.c2
-rw-r--r--src/paste.c2
-rw-r--r--src/pathchk.c2
-rw-r--r--src/pinky.c2
-rw-r--r--src/pr.c2
-rw-r--r--src/printenv.c2
-rw-r--r--src/printf.c2
-rw-r--r--src/ptx.c2
-rw-r--r--src/pwd.c2
-rw-r--r--src/readlink.c2
-rw-r--r--src/remove.c2
-rw-r--r--src/remove.h2
-rw-r--r--src/rm.c2
-rw-r--r--src/rmdir.c2
-rw-r--r--src/seq.c2
-rw-r--r--src/setuidgid.c2
-rw-r--r--src/shred.c2
-rw-r--r--src/shuf.c2
-rw-r--r--src/sleep.c2
-rw-r--r--src/sort.c2
-rw-r--r--src/split.c2
-rw-r--r--src/stat.c2
-rw-r--r--src/stty.c2
-rw-r--r--src/su.c2
-rw-r--r--src/sum.c2
-rw-r--r--src/sync.c2
-rw-r--r--src/system.h2
-rw-r--r--src/tac-pipe.c2
-rw-r--r--src/tac.c2
-rw-r--r--src/tail.c2
-rw-r--r--src/tee.c2
-rw-r--r--src/test.c2
-rw-r--r--src/touch.c2
-rw-r--r--src/tr.c2
-rw-r--r--src/true.c2
-rw-r--r--src/tsort.c2
-rw-r--r--src/tty.c2
-rw-r--r--src/uname.c2
-rw-r--r--src/unexpand.c2
-rw-r--r--src/uniq.c2
-rw-r--r--src/unlink.c2
-rw-r--r--src/uptime.c2
-rw-r--r--src/users.c2
-rw-r--r--src/wc.c2
-rwxr-xr-xsrc/wheel-gen.pl2
-rw-r--r--src/who.c2
-rw-r--r--src/whoami.c2
-rw-r--r--src/yes.c2
-rw-r--r--tests/Coreutils.pm2
-rw-r--r--tests/Makefile.am.in2
-rw-r--r--tests/acl2
-rwxr-xr-xtests/chgrp/basic2
-rwxr-xr-xtests/chgrp/default-no-deref2
-rwxr-xr-xtests/chgrp/deref2
-rwxr-xr-xtests/chgrp/no-x2
-rwxr-xr-xtests/chgrp/posix-H2
-rwxr-xr-xtests/chgrp/recurse2
-rwxr-xr-xtests/chmod/c-option2
-rwxr-xr-xtests/chmod/equal-x2
-rwxr-xr-xtests/chmod/equals2
-rwxr-xr-xtests/chmod/inaccessible2
-rwxr-xr-xtests/chmod/no-x2
-rwxr-xr-xtests/chmod/octal2
-rwxr-xr-xtests/chmod/setgid2
-rwxr-xr-xtests/chmod/umask-x2
-rwxr-xr-xtests/chmod/usage2
-rwxr-xr-xtests/chown/basic2
-rwxr-xr-xtests/chown/deref2
-rwxr-xr-xtests/chown/preserve-root2
-rwxr-xr-xtests/chown/separator2
-rw-r--r--tests/cp/Makefile.am2
-rwxr-xr-xtests/cp/acl2
-rwxr-xr-xtests/cp/backup-12
-rwxr-xr-xtests/cp/backup-dir2
-rwxr-xr-xtests/cp/backup-is-src2
-rwxr-xr-xtests/cp/cp-HL2
-rwxr-xr-xtests/cp/cp-a-selinux2
-rwxr-xr-xtests/cp/cp-deref2
-rwxr-xr-xtests/cp/cp-i2
-rwxr-xr-xtests/cp/cp-mv-backup2
-rwxr-xr-xtests/cp/cp-parents2
-rwxr-xr-xtests/cp/deref-slink2
-rwxr-xr-xtests/cp/dir-rm-dest2
-rwxr-xr-xtests/cp/dir-slash2
-rwxr-xr-xtests/cp/dir-vs-file2
-rwxr-xr-xtests/cp/fail-perm2
-rwxr-xr-xtests/cp/file-perm-race2
-rwxr-xr-xtests/cp/into-self2
-rwxr-xr-xtests/cp/link2
-rwxr-xr-xtests/cp/link-no-deref2
-rwxr-xr-xtests/cp/link-preserve2
-rwxr-xr-xtests/cp/no-deref-link12
-rwxr-xr-xtests/cp/no-deref-link22
-rwxr-xr-xtests/cp/no-deref-link32
-rwxr-xr-xtests/cp/parent-perm-race2
-rwxr-xr-xtests/cp/perm2
-rwxr-xr-xtests/cp/preserve-22
-rwxr-xr-xtests/cp/r-vs-symlink2
-rwxr-xr-xtests/cp/same-file2
-rwxr-xr-xtests/cp/slink-2-slink2
-rwxr-xr-xtests/cp/sparse2
-rwxr-xr-xtests/cp/special-bits2
-rwxr-xr-xtests/cp/src-base-dot2
-rwxr-xr-xtests/cp/symlink-slash2
-rwxr-xr-xtests/cp/thru-dangling2
-rwxr-xr-xtests/cut/Test.pm2
-rwxr-xr-xtests/dd/misc2
-rwxr-xr-xtests/dd/not-rewound2
-rwxr-xr-xtests/dd/skip-seek2
-rwxr-xr-xtests/dd/skip-seek22
-rwxr-xr-xtests/dd/unblock-sync2
-rwxr-xr-xtests/dircolors/simple2
-rwxr-xr-xtests/du/2g2
-rwxr-xr-xtests/du/8gb2
-rw-r--r--tests/du/Makefile.am2
-rwxr-xr-xtests/du/basic2
-rwxr-xr-xtests/du/deref2
-rwxr-xr-xtests/du/deref-args2
-rwxr-xr-xtests/du/exclude2
-rwxr-xr-xtests/du/fd-leak2
-rwxr-xr-xtests/du/files0-from2
-rwxr-xr-xtests/du/hard-link2
-rwxr-xr-xtests/du/inacc-dest2
-rwxr-xr-xtests/du/inaccessible-cwd2
-rwxr-xr-xtests/du/long-from-unreadable2
-rwxr-xr-xtests/du/long-sloop2
-rwxr-xr-xtests/du/no-deref2
-rwxr-xr-xtests/du/no-x2
-rwxr-xr-xtests/du/one-file-system2
-rwxr-xr-xtests/du/restore-wd2
-rwxr-xr-xtests/du/slash2
-rwxr-xr-xtests/du/slink2
-rwxr-xr-xtests/du/trailing-slash2
-rwxr-xr-xtests/du/two-args2
-rw-r--r--tests/envvar-check2
-rw-r--r--tests/expensive2
-rwxr-xr-xtests/expr/basic2
-rwxr-xr-xtests/factor/basic2
-rwxr-xr-xtests/fmt/basic2
-rwxr-xr-xtests/fmt/long-line2
-rw-r--r--tests/general/Makefile.am2
-rw-r--r--tests/general/atgeneral.m42
-rw-r--r--tests/general/dd.at2
-rw-r--r--tests/group-names2
-rw-r--r--tests/head/Test.pm2
-rwxr-xr-xtests/help-version2
-rwxr-xr-xtests/install/basic-12
-rwxr-xr-xtests/install/create-leading2
-rwxr-xr-xtests/install/d-slashdot2
-rwxr-xr-xtests/install/trap2
-rw-r--r--tests/join/Test.pm2
-rwxr-xr-xtests/ln/backup-12
-rwxr-xr-xtests/ln/hard-backup2
-rwxr-xr-xtests/ln/misc2
-rwxr-xr-xtests/ln/sf-12
-rwxr-xr-xtests/ln/target-12
-rwxr-xr-xtests/ls-2/tests2
-rw-r--r--tests/ls/Makefile.am2
-rwxr-xr-xtests/ls/color-dtype-dir2
-rwxr-xr-xtests/ls/dangle2
-rwxr-xr-xtests/ls/dired2
-rwxr-xr-xtests/ls/file-type2
-rwxr-xr-xtests/ls/follow-slink2
-rwxr-xr-xtests/ls/infloop2
-rwxr-xr-xtests/ls/inode2
-rwxr-xr-xtests/ls/m-option2
-rwxr-xr-xtests/ls/nameless-uid2
-rwxr-xr-xtests/ls/no-arg2
-rwxr-xr-xtests/ls/recursive2
-rwxr-xr-xtests/ls/rt-12
-rwxr-xr-xtests/ls/stat-dtype2
-rwxr-xr-xtests/ls/stat-failed2
-rwxr-xr-xtests/ls/stat-vs-dirent2
-rwxr-xr-xtests/ls/symlink-slash2
-rwxr-xr-xtests/ls/time-12
-rwxr-xr-xtests/ls/x-option2
-rwxr-xr-xtests/md5sum/basic-12
-rwxr-xr-xtests/md5sum/newline-12
-rw-r--r--tests/misc/Makefile.am2
-rwxr-xr-xtests/misc/base642
-rwxr-xr-xtests/misc/basename2
-rwxr-xr-xtests/misc/cat-proc2
-rwxr-xr-xtests/misc/close-stdout2
-rwxr-xr-xtests/misc/csplit2
-rwxr-xr-xtests/misc/cut2
-rwxr-xr-xtests/misc/date2
-rwxr-xr-xtests/misc/date-sec2
-rwxr-xr-xtests/misc/df2
-rwxr-xr-xtests/misc/df-P2
-rwxr-xr-xtests/misc/dirname2
-rwxr-xr-xtests/misc/expand2
-rwxr-xr-xtests/misc/false-status2
-rwxr-xr-xtests/misc/fold2
-rwxr-xr-xtests/misc/head-c2
-rwxr-xr-xtests/misc/head-elide-tail2
-rwxr-xr-xtests/misc/head-pos2
-rwxr-xr-xtests/misc/mknod2
-rwxr-xr-xtests/misc/nice2
-rwxr-xr-xtests/misc/nl2
-rwxr-xr-xtests/misc/nohup2
-rwxr-xr-xtests/misc/paste-no-nl2
-rwxr-xr-xtests/misc/pathchk12
-rwxr-xr-xtests/misc/pr2
-rwxr-xr-xtests/misc/printf2
-rwxr-xr-xtests/misc/printf-hex2
-rwxr-xr-xtests/misc/pwd-long2
-rwxr-xr-xtests/misc/pwd-unreadable-parent2
-rwxr-xr-xtests/misc/runcon-no-reorder2
-rwxr-xr-xtests/misc/sha224sum2
-rwxr-xr-xtests/misc/sha256sum2
-rwxr-xr-xtests/misc/sha384sum2
-rwxr-xr-xtests/misc/sha512sum2
-rwxr-xr-xtests/misc/shuf2
-rwxr-xr-xtests/misc/sort-compress2
-rwxr-xr-xtests/misc/sort-merge2
-rwxr-xr-xtests/misc/sort-rand2
-rwxr-xr-xtests/misc/split-a2
-rwxr-xr-xtests/misc/split-fail2
-rwxr-xr-xtests/misc/split-l2
-rwxr-xr-xtests/misc/stat-fmt2
-rwxr-xr-xtests/misc/stat-printf2
-rwxr-xr-xtests/misc/tac-continue2
-rwxr-xr-xtests/misc/test-diag2
-rwxr-xr-xtests/misc/tty-eof2
-rwxr-xr-xtests/misc/wc-files02
-rwxr-xr-xtests/misc/wc-files0-from2
-rwxr-xr-xtests/mk-script2
-rwxr-xr-xtests/mkdir/concurrent-12
-rwxr-xr-xtests/mkdir/p-12
-rwxr-xr-xtests/mkdir/p-22
-rwxr-xr-xtests/mkdir/p-32
-rwxr-xr-xtests/mkdir/p-slashdot2
-rwxr-xr-xtests/mkdir/p-thru-slink2
-rwxr-xr-xtests/mkdir/p-v2
-rwxr-xr-xtests/mkdir/parents2
-rwxr-xr-xtests/mkdir/perm2
-rwxr-xr-xtests/mkdir/special-12
-rwxr-xr-xtests/mkdir/t-slash2
-rwxr-xr-xtests/mkdir/writable-under-readonly2
-rw-r--r--tests/mv/Makefile.am2
-rwxr-xr-xtests/mv/acl2
-rwxr-xr-xtests/mv/atomic2
-rwxr-xr-xtests/mv/backup-dir2
-rwxr-xr-xtests/mv/backup-is-src2
-rwxr-xr-xtests/mv/childproof2
-rwxr-xr-xtests/mv/diag2
-rwxr-xr-xtests/mv/dir-file2
-rwxr-xr-xtests/mv/dir2dir2
-rwxr-xr-xtests/mv/dup-source2
-rwxr-xr-xtests/mv/force2
-rwxr-xr-xtests/mv/hard-22
-rwxr-xr-xtests/mv/hard-32
-rwxr-xr-xtests/mv/hard-42
-rwxr-xr-xtests/mv/hard-link-12
-rwxr-xr-xtests/mv/hard-verbose2
-rwxr-xr-xtests/mv/i-12
-rwxr-xr-xtests/mv/i-22
-rwxr-xr-xtests/mv/i-32
-rwxr-xr-xtests/mv/i-42
-rwxr-xr-xtests/mv/i-52
-rwxr-xr-xtests/mv/i-link-no2
-rwxr-xr-xtests/mv/into-self2
-rwxr-xr-xtests/mv/into-self-22
-rwxr-xr-xtests/mv/into-self-32
-rwxr-xr-xtests/mv/into-self-42
-rwxr-xr-xtests/mv/leak-fd2
-rwxr-xr-xtests/mv/mv-special-12
-rwxr-xr-xtests/mv/no-target-dir2
-rwxr-xr-xtests/mv/part-fail2
-rwxr-xr-xtests/mv/part-hardlink2
-rwxr-xr-xtests/mv/part-rename2
-rwxr-xr-xtests/mv/part-symlink2
-rwxr-xr-xtests/mv/partition-perm2
-rwxr-xr-xtests/mv/perm-12
-rwxr-xr-xtests/mv/reply-no2
-rwxr-xr-xtests/mv/to-symlink2
-rwxr-xr-xtests/mv/trailing-slash2
-rwxr-xr-xtests/mv/update2
-rw-r--r--tests/mv/vfat2
-rwxr-xr-xtests/od/od-N2
-rwxr-xr-xtests/od/x82
-rwxr-xr-xtests/other-fs-tmpdir2
-rw-r--r--tests/pr/Test.pm2
-rw-r--r--tests/priv-check2
-rwxr-xr-xtests/readlink/can-e2
-rwxr-xr-xtests/readlink/can-f2
-rwxr-xr-xtests/readlink/can-m2
-rwxr-xr-xtests/readlink/rl-12
-rw-r--r--tests/rm/Makefile.am2
-rwxr-xr-xtests/rm/cycle2
-rwxr-xr-xtests/rm/dangling-symlink2
-rwxr-xr-xtests/rm/deep-12
-rwxr-xr-xtests/rm/dir-no-w2
-rwxr-xr-xtests/rm/dir-nonrecur2
-rwxr-xr-xtests/rm/dot-rel2
-rwxr-xr-xtests/rm/empty-inacc2
-rwxr-xr-xtests/rm/empty-name2
-rwxr-xr-xtests/rm/f-12
-rwxr-xr-xtests/rm/fail-2eperm2
-rwxr-xr-xtests/rm/fail-eacces2
-rwxr-xr-xtests/rm/fail-eperm2
-rwxr-xr-xtests/rm/hash2
-rwxr-xr-xtests/rm/i-12
-rwxr-xr-xtests/rm/i-never2
-rwxr-xr-xtests/rm/i-no-r2
-rwxr-xr-xtests/rm/ignorable2
-rwxr-xr-xtests/rm/inaccessible2
-rwxr-xr-xtests/rm/interactive-always2
-rwxr-xr-xtests/rm/interactive-once2
-rwxr-xr-xtests/rm/ir-12
-rwxr-xr-xtests/rm/isatty2
-rwxr-xr-xtests/rm/no-give-up2
-rwxr-xr-xtests/rm/one-file-system2
-rwxr-xr-xtests/rm/r-12
-rwxr-xr-xtests/rm/r-22
-rwxr-xr-xtests/rm/r-32
-rwxr-xr-xtests/rm/r-42
-rwxr-xr-xtests/rm/readdir-bug2
-rwxr-xr-xtests/rm/rm12
-rwxr-xr-xtests/rm/rm22
-rwxr-xr-xtests/rm/rm32
-rwxr-xr-xtests/rm/rm42
-rwxr-xr-xtests/rm/rm52
-rwxr-xr-xtests/rm/sunos-12
-rwxr-xr-xtests/rm/unread22
-rwxr-xr-xtests/rm/unread32
-rwxr-xr-xtests/rm/unreadable2
-rwxr-xr-xtests/rmdir/fail-perm2
-rwxr-xr-xtests/rmdir/ignore2
-rwxr-xr-xtests/rmdir/t-slash2
-rwxr-xr-xtests/rwx-to-mode2
-rw-r--r--tests/sample-test2
-rw-r--r--tests/selinux2
-rwxr-xr-xtests/seq/basic2
-rw-r--r--tests/setgid-check2
-rwxr-xr-xtests/sha1sum/basic-12
-rwxr-xr-xtests/sha1sum/sample-vec2
-rwxr-xr-xtests/shred/exact2
-rwxr-xr-xtests/shred/remove2
-rw-r--r--tests/sort-time/Makefile2
-rw-r--r--tests/sort-time/README2
-rwxr-xr-xtests/sort-time/rand-gen2
-rwxr-xr-xtests/sort/Test.pm2
-rw-r--r--tests/sparse-file2
-rwxr-xr-xtests/stty/basic-12
-rwxr-xr-xtests/stty/invalid2
-rwxr-xr-xtests/stty/row-col-12
-rwxr-xr-xtests/sum/basic-12
-rwxr-xr-xtests/sum/sysv2
-rw-r--r--tests/tac/Test.pm2
-rw-r--r--tests/tail-2/Makefile.am2
-rwxr-xr-xtests/tail-2/append-only2
-rwxr-xr-xtests/tail-2/assert2
-rwxr-xr-xtests/tail-2/assert-22
-rwxr-xr-xtests/tail-2/big-4gb2
-rwxr-xr-xtests/tail-2/fflush2
-rwxr-xr-xtests/tail-2/infloop-12
-rwxr-xr-xtests/tail-2/proc-ksyms2
-rwxr-xr-xtests/tail-2/start-middle2
-rwxr-xr-xtests/tail-2/tail-n0f2
-rwxr-xr-xtests/tail/Test.pm2
-rwxr-xr-xtests/tee/basic2
-rwxr-xr-xtests/tee/dash2
-rw-r--r--tests/test/Test.pm2
-rw-r--r--tests/touch/Makefile.am2
-rwxr-xr-xtests/touch/dangling-symlink2
-rwxr-xr-xtests/touch/empty-file2
-rwxr-xr-xtests/touch/fail-diag2
-rwxr-xr-xtests/touch/fifo2
-rwxr-xr-xtests/touch/no-create-missing2
-rwxr-xr-xtests/touch/no-rights2
-rwxr-xr-xtests/touch/not-owner2
-rwxr-xr-xtests/touch/obsolescent2
-rwxr-xr-xtests/touch/read-only2
-rwxr-xr-xtests/touch/relative2
-rwxr-xr-xtests/tr/Test.pm2
-rw-r--r--tests/tr/failures2
-rwxr-xr-xtests/tsort/basic-12
-rw-r--r--tests/umask-check2
-rwxr-xr-xtests/unexpand/basic-12
-rw-r--r--tests/uniq/Test.pm2
-rwxr-xr-xtests/wc/Test.pm2
496 files changed, 499 insertions, 495 deletions
diff --git a/.vg-suppressions b/.vg-suppressions
index 88be9c9db..64c0b06d9 100644
--- a/.vg-suppressions
+++ b/.vg-suppressions
@@ -4,7 +4,7 @@
# 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
+# 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,
diff --git a/COPYING b/COPYING
index d511905c1..224956fbb 100644
--- a/COPYING
+++ b/COPYING
@@ -295,7 +295,7 @@ the "copyright" line and a pointer to where the full notice is found.
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
+ 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,
diff --git a/ChangeLog b/ChangeLog
index 91927ee30..9565777c0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-07-10 Jim Meyering <jim@meyering.net>
+
+ Change "version 2" to "version 3" in all copyright notices.
+
2007-07-09 Jim Meyering <jim@meyering.net>
Compensate for new c99'isms in seq.c.
diff --git a/GNUmakefile b/GNUmakefile
index 38d55245e..95f999d6d 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -8,7 +8,7 @@
#
# 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
+# 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,
diff --git a/Makefile.am b/Makefile.am
index 5341edcaf..60a39cbf0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,7 +4,7 @@
# 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
+# 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,
diff --git a/Makefile.cfg b/Makefile.cfg
index 4ade0bddb..a5074692d 100644
--- a/Makefile.cfg
+++ b/Makefile.cfg
@@ -3,7 +3,7 @@
# 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, or (at your option)
+# the Free Software Foundation; either version 3, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
diff --git a/Makefile.maint b/Makefile.maint
index 3bdfeac3b..088ddf35b 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -6,7 +6,7 @@
##
## 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, or (at your option)
+## the Free Software Foundation; either version 3, or (at your option)
## any later version.
##
## This program is distributed in the hope that it will be useful,
diff --git a/README-hacking b/README-hacking
index e3bf5f693..686d3b276 100644
--- a/README-hacking
+++ b/README-hacking
@@ -56,7 +56,7 @@ Copyright (C) 2002-2007 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, or (at your option)
+the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/README-valgrind b/README-valgrind
index 5d8a8a36a..a7c17062e 100644
--- a/README-valgrind
+++ b/README-valgrind
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/TODO b/TODO
index 191b2d45a..1f2760334 100644
--- a/TODO
+++ b/TODO
@@ -176,7 +176,7 @@ Copyright (C) 2002-2007 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, or (at your option)
+the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/bootstrap b/bootstrap
index 59c817df7..442309c87 100755
--- a/bootstrap
+++ b/bootstrap
@@ -6,7 +6,7 @@
# 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, or (at your option)
+# the Free Software Foundation; either version 3, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
diff --git a/bootstrap.conf b/bootstrap.conf
index 7f460059b..f157f307d 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -4,7 +4,7 @@
# 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, or (at your option)
+# the Free Software Foundation; either version 3, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
diff --git a/build-aux/cvsu b/build-aux/cvsu
index 03e3d0686..ee250146c 100755
--- a/build-aux/cvsu
+++ b/build-aux/cvsu
@@ -8,7 +8,7 @@
#
# 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, or (at your option)
+# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
diff --git a/build-aux/vc-list-files b/build-aux/vc-list-files
index b170638b4..df61974f3 100755
--- a/build-aux/vc-list-files
+++ b/build-aux/vc-list-files
@@ -5,7 +5,7 @@
# 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, or (at your option)
+# the Free Software Foundation; either version 3, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
diff --git a/configure.ac b/configure.ac
index b441256db..d4ba2f1d5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5,7 +5,7 @@
# 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, or (at your option)
+# the Free Software Foundation; either version 3, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
diff --git a/doc/Makefile.am b/doc/Makefile.am
index e0e2ee5a3..d525adf21 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/gl/lib/base64.c b/gl/lib/base64.c
index a438d0fd1..aa1fb9695 100644
--- a/gl/lib/base64.c
+++ b/gl/lib/base64.c
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/gl/lib/base64.h b/gl/lib/base64.h
index be858eaaf..7b9b560be 100644
--- a/gl/lib/base64.h
+++ b/gl/lib/base64.h
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/gl/lib/mgetgroups.c b/gl/lib/mgetgroups.c
index 13dbc8391..b263e8f93 100644
--- a/gl/lib/mgetgroups.c
+++ b/gl/lib/mgetgroups.c
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/gl/lib/mgetgroups.h b/gl/lib/mgetgroups.h
index 23f04e189..d5a0df356 100644
--- a/gl/lib/mgetgroups.h
+++ b/gl/lib/mgetgroups.h
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/gl/lib/root-dev-ino.c b/gl/lib/root-dev-ino.c
index a78541212..cc9c28407 100644
--- a/gl/lib/root-dev-ino.c
+++ b/gl/lib/root-dev-ino.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/gl/lib/root-dev-ino.h b/gl/lib/root-dev-ino.h
index ad38f7635..eb3af8fe1 100644
--- a/gl/lib/root-dev-ino.h
+++ b/gl/lib/root-dev-ino.h
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/gl/lib/selinux-at.c b/gl/lib/selinux-at.c
index 9dc0b1c98..5a4dc3d7a 100644
--- a/gl/lib/selinux-at.c
+++ b/gl/lib/selinux-at.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/gl/lib/selinux-at.h b/gl/lib/selinux-at.h
index f12022c51..b5cb03e69 100644
--- a/gl/lib/selinux-at.h
+++ b/gl/lib/selinux-at.h
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/lib/Makefile.am b/lib/Makefile.am
index cfa22beb1..ac6b1857d 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -4,7 +4,7 @@
## 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, or (at your option)
+## the Free Software Foundation; either version 3, or (at your option)
## any later version.
## This program is distributed in the hope that it will be useful,
diff --git a/lib/buffer-lcm.c b/lib/buffer-lcm.c
index c3f610943..df3279c2b 100644
--- a/lib/buffer-lcm.c
+++ b/lib/buffer-lcm.c
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/lib/euidaccess-stat.c b/lib/euidaccess-stat.c
index 7663c463e..dd02b43ea 100644
--- a/lib/euidaccess-stat.c
+++ b/lib/euidaccess-stat.c
@@ -6,7 +6,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/lib/fd-reopen.c b/lib/fd-reopen.c
index 99376e380..0beba863e 100644
--- a/lib/fd-reopen.c
+++ b/lib/fd-reopen.c
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/lib/fd-reopen.h b/lib/fd-reopen.h
index af4bcfeb4..fdabe0a3f 100644
--- a/lib/fd-reopen.h
+++ b/lib/fd-reopen.h
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/lib/fdopendir-glibc.c b/lib/fdopendir-glibc.c
index 2bafac94e..ae04ba7e6 100644
--- a/lib/fdopendir-glibc.c
+++ b/lib/fdopendir-glibc.c
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/lib/memxfrm.c b/lib/memxfrm.c
index 09bb5f4ad..901dff52e 100644
--- a/lib/memxfrm.c
+++ b/lib/memxfrm.c
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/lib/rand-isaac.c b/lib/rand-isaac.c
index cfdc643f6..c7e4e3a24 100644
--- a/lib/rand-isaac.c
+++ b/lib/rand-isaac.c
@@ -5,7 +5,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/lib/rand-isaac.h b/lib/rand-isaac.h
index f8daee03d..336c746ae 100644
--- a/lib/rand-isaac.h
+++ b/lib/rand-isaac.h
@@ -5,7 +5,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/lib/randint.c b/lib/randint.c
index 5ee738a50..b62703650 100644
--- a/lib/randint.c
+++ b/lib/randint.c
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/lib/randint.h b/lib/randint.h
index 4245a6d3f..f67c8aa1f 100644
--- a/lib/randint.h
+++ b/lib/randint.h
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/lib/randperm.c b/lib/randperm.c
index c4438ddfb..e1b436e6b 100644
--- a/lib/randperm.c
+++ b/lib/randperm.c
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/lib/randread.c b/lib/randread.c
index 5462d446c..6cd2ec792 100644
--- a/lib/randread.c
+++ b/lib/randread.c
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/lib/randread.h b/lib/randread.h
index 8e34334a7..6688bd6f6 100644
--- a/lib/randread.h
+++ b/lib/randread.h
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/lib/search_.h b/lib/search_.h
index 802b25d79..dea5a06d0 100644
--- a/lib/search_.h
+++ b/lib/search_.h
@@ -5,7 +5,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/lib/sha256.c b/lib/sha256.c
index d23c509dc..d7147fd10 100644
--- a/lib/sha256.c
+++ b/lib/sha256.c
@@ -5,7 +5,7 @@
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, or (at your option) any
+ Free Software Foundation; either version 3, or (at your option) any
later version.
This program is distributed in the hope that it will be useful,
diff --git a/lib/sha256.h b/lib/sha256.h
index ccbe6cfd7..da944532e 100644
--- a/lib/sha256.h
+++ b/lib/sha256.h
@@ -4,7 +4,7 @@
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, or (at your option) any
+ Free Software Foundation; either version 3, or (at your option) any
later version.
This program is distributed in the hope that it will be useful,
diff --git a/lib/sha512.c b/lib/sha512.c
index e24c6f5a3..0c2d42fd0 100644
--- a/lib/sha512.c
+++ b/lib/sha512.c
@@ -5,7 +5,7 @@
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, or (at your option) any
+ Free Software Foundation; either version 3, or (at your option) any
later version.
This program is distributed in the hope that it will be useful,
diff --git a/lib/sha512.h b/lib/sha512.h
index 995511e91..707e0db66 100644
--- a/lib/sha512.h
+++ b/lib/sha512.h
@@ -4,7 +4,7 @@
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, or (at your option) any
+ Free Software Foundation; either version 3, or (at your option) any
later version.
This program is distributed in the hope that it will be useful,
diff --git a/lib/stdopen.c b/lib/stdopen.c
index 70e5d5328..20bed08cd 100644
--- a/lib/stdopen.c
+++ b/lib/stdopen.c
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/lib/strintcmp.c b/lib/strintcmp.c
index f8f18012f..61dc45dc0 100644
--- a/lib/strintcmp.c
+++ b/lib/strintcmp.c
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/lib/strnumcmp-in.h b/lib/strnumcmp-in.h
index 9b968cb30..65c6595dc 100644
--- a/lib/strnumcmp-in.h
+++ b/lib/strnumcmp-in.h
@@ -5,7 +5,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/lib/strnumcmp.c b/lib/strnumcmp.c
index 3afbfb1d9..320210059 100644
--- a/lib/strnumcmp.c
+++ b/lib/strnumcmp.c
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/lib/t-chdir-long b/lib/t-chdir-long
index 2da09b31e..253aed1c1 100755
--- a/lib/t-chdir-long
+++ b/lib/t-chdir-long
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/lib/t-fpending.c b/lib/t-fpending.c
index 74ecae1bd..234cfd18f 100644
--- a/lib/t-fpending.c
+++ b/lib/t-fpending.c
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/lib/u64.h b/lib/u64.h
index 1d581ecc7..5f19f81fc 100644
--- a/lib/u64.h
+++ b/lib/u64.h
@@ -4,7 +4,7 @@
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, or (at your option) any
+ Free Software Foundation; either version 3, or (at your option) any
later version.
This program is distributed in the hope that it will be useful,
diff --git a/lib/xfts.c b/lib/xfts.c
index 1402e95e3..10f06a44b 100644
--- a/lib/xfts.c
+++ b/lib/xfts.c
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/lib/xmemxfrm.c b/lib/xmemxfrm.c
index 8150334cd..8a065d026 100644
--- a/lib/xmemxfrm.c
+++ b/lib/xmemxfrm.c
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/m4/boottime.m4 b/m4/boottime.m4
index ad350f1d8..c815785de 100644
--- a/m4/boottime.m4
+++ b/m4/boottime.m4
@@ -5,7 +5,7 @@
# 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, or (at your option)
+# the Free Software Foundation; either version 3, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4
index 2595542f9..8ba9aebff 100644
--- a/m4/jm-macros.m4
+++ b/m4/jm-macros.m4
@@ -7,7 +7,7 @@ dnl Misc type-related macros for coreutils.
# 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, or (at your option)
+# the Free Software Foundation; either version 3, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
diff --git a/m4/lib-check.m4 b/m4/lib-check.m4
index 212376773..a1c4f7ae9 100644
--- a/m4/lib-check.m4
+++ b/m4/lib-check.m4
@@ -7,7 +7,7 @@ dnl Misc lib-related macros for coreutils.
# 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, or (at your option)
+# the Free Software Foundation; either version 3, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
diff --git a/m4/prereq.m4 b/m4/prereq.m4
index d3ecc90eb..b83d95ad6 100644
--- a/m4/prereq.m4
+++ b/m4/prereq.m4
@@ -12,7 +12,7 @@ m4_pattern_forbid([^gl_[ABCDEFGHIJKLMNOPQRSTUVXYZ]])dnl
# 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, or (at your option)
+# the Free Software Foundation; either version 3, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
diff --git a/m4/stat-prog.m4 b/m4/stat-prog.m4
index df9b40d5c..d60784289 100644
--- a/m4/stat-prog.m4
+++ b/m4/stat-prog.m4
@@ -5,7 +5,7 @@
# 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, or (at your option)
+# the Free Software Foundation; either version 3, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
diff --git a/man/Makefile.am b/man/Makefile.am
index 650306ed6..ab2f82289 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -4,7 +4,7 @@
# 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
+# 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,
diff --git a/man/help2man b/man/help2man
index 192576c35..48b4e0522 100755
--- a/man/help2man
+++ b/man/help2man
@@ -6,7 +6,7 @@
# 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, or (at your option)
+# the Free Software Foundation; either version 3, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
diff --git a/src/Makefile.am b/src/Makefile.am
index 0da57e357..2dc990445 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -4,7 +4,7 @@
## 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, or (at your option)
+## the Free Software Foundation; either version 3, or (at your option)
## any later version.
## This program is distributed in the hope that it will be useful,
diff --git a/src/base64.c b/src/base64.c
index 3a38ccf5c..9a5571265 100644
--- a/src/base64.c
+++ b/src/base64.c
@@ -5,7 +5,7 @@
Base64 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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
Base64 is distributed in the hope that it will be useful, but
diff --git a/src/basename.c b/src/basename.c
index 22f76fc3b..c6bbaf8b7 100644
--- a/src/basename.c
+++ b/src/basename.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/cat.c b/src/cat.c
index a9580e828..6e28f1a54 100644
--- a/src/cat.c
+++ b/src/cat.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/chcon.c b/src/chcon.c
index af5b1ad22..7abcf3345 100644
--- a/src/chcon.c
+++ b/src/chcon.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/chgrp.c b/src/chgrp.c
index 0560aa446..7c0451bda 100644
--- a/src/chgrp.c
+++ b/src/chgrp.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/chmod.c b/src/chmod.c
index 707b41561..442d58656 100644
--- a/src/chmod.c
+++ b/src/chmod.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/chown-core.c b/src/chown-core.c
index bd987a8c1..d97bc1b84 100644
--- a/src/chown-core.c
+++ b/src/chown-core.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/chown-core.h b/src/chown-core.h
index 1c83cfc52..3be49c87b 100644
--- a/src/chown-core.h
+++ b/src/chown-core.h
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/chown.c b/src/chown.c
index 8ad76184a..8f52e0036 100644
--- a/src/chown.c
+++ b/src/chown.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/chroot.c b/src/chroot.c
index 31af1817c..2eacd4a8c 100644
--- a/src/chroot.c
+++ b/src/chroot.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/cksum.c b/src/cksum.c
index 7b65c730d..f18c5cefa 100644
--- a/src/cksum.c
+++ b/src/cksum.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/comm.c b/src/comm.c
index 6ab4938b3..35aca86df 100644
--- a/src/comm.c
+++ b/src/comm.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/copy.c b/src/copy.c
index fec8c231b..b7bf73b83 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/copy.h b/src/copy.h
index 23cde2bee..70a5d658b 100644
--- a/src/copy.h
+++ b/src/copy.h
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/cp-hash.c b/src/cp-hash.c
index a4b51573f..dbc290ed7 100644
--- a/src/cp-hash.c
+++ b/src/cp-hash.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/cp.c b/src/cp.c
index 9436be6fb..803e4ac1f 100644
--- a/src/cp.c
+++ b/src/cp.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/csplit.c b/src/csplit.c
index 75a5718d1..e497b60ca 100644
--- a/src/csplit.c
+++ b/src/csplit.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/cut.c b/src/cut.c
index e89460e1b..21dbb1b70 100644
--- a/src/cut.c
+++ b/src/cut.c
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/date.c b/src/date.c
index 8102e9921..4a32b45d3 100644
--- a/src/date.c
+++ b/src/date.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/dcgen b/src/dcgen
index 5df3c56b8..22ecf0c7b 100755
--- a/src/dcgen
+++ b/src/dcgen
@@ -5,7 +5,7 @@
# 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, or (at your option)
+# the Free Software Foundation; either version 3, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
diff --git a/src/dd.c b/src/dd.c
index 61143c9a3..859037bfe 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/df.c b/src/df.c
index f5e0f1a19..a72b17f6e 100644
--- a/src/df.c
+++ b/src/df.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/dircolors.c b/src/dircolors.c
index 51f036d7f..9ed1c2e73 100644
--- a/src/dircolors.c
+++ b/src/dircolors.c
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/dirname.c b/src/dirname.c
index bc2b0f362..cf0f955ae 100644
--- a/src/dirname.c
+++ b/src/dirname.c
@@ -5,7 +5,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/du-tests b/src/du-tests
index 4fffc9f39..a67f695c3 100755
--- a/src/du-tests
+++ b/src/du-tests
@@ -4,7 +4,7 @@
# 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, or (at your option)
+# the Free Software Foundation; either version 3, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
diff --git a/src/du.c b/src/du.c
index e1e81c407..74eb9b2fd 100644
--- a/src/du.c
+++ b/src/du.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/echo.c b/src/echo.c
index fe55cddff..3f0c3c342 100644
--- a/src/echo.c
+++ b/src/echo.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/env.c b/src/env.c
index 355589804..444203a89 100644
--- a/src/env.c
+++ b/src/env.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/expand.c b/src/expand.c
index 42739bd65..db9157a79 100644
--- a/src/expand.c
+++ b/src/expand.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/expr.c b/src/expr.c
index 47f5832f8..9b4f02dc0 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/extract-magic b/src/extract-magic
index 2e9e871d3..321f40ad6 100644
--- a/src/extract-magic
+++ b/src/extract-magic
@@ -5,7 +5,7 @@
# 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, or (at your option)
+# the Free Software Foundation; either version 3, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
diff --git a/src/factor.c b/src/factor.c
index 5ebe15484..52ab0308a 100644
--- a/src/factor.c
+++ b/src/factor.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/fmt.c b/src/fmt.c
index 63dac8854..3936d883c 100644
--- a/src/fmt.c
+++ b/src/fmt.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/fold.c b/src/fold.c
index 84b6eac7f..29d214044 100644
--- a/src/fold.c
+++ b/src/fold.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/groups.sh b/src/groups.sh
index dd32c63c5..84b018708 100755
--- a/src/groups.sh
+++ b/src/groups.sh
@@ -4,7 +4,7 @@
# 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, or (at your option)
+# the Free Software Foundation; either version 3, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
diff --git a/src/head.c b/src/head.c
index 0e4fe6cea..46b786661 100644
--- a/src/head.c
+++ b/src/head.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/hostid.c b/src/hostid.c
index edd9e3ddc..854a3f757 100644
--- a/src/hostid.c
+++ b/src/hostid.c
@@ -5,7 +5,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/hostname.c b/src/hostname.c
index a2666bad5..57b418f44 100644
--- a/src/hostname.c
+++ b/src/hostname.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/id.c b/src/id.c
index 90c944587..74c0924d5 100644
--- a/src/id.c
+++ b/src/id.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/install.c b/src/install.c
index 566c93c4d..195354f4f 100644
--- a/src/install.c
+++ b/src/install.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/join.c b/src/join.c
index c06213c4f..b55918872 100644
--- a/src/join.c
+++ b/src/join.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/kill.c b/src/kill.c
index 0c7ac1242..f62e7c2a2 100644
--- a/src/kill.c
+++ b/src/kill.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/link.c b/src/link.c
index 9e1f33970..b8547e661 100644
--- a/src/link.c
+++ b/src/link.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/ln.c b/src/ln.c
index 2e9bfcf40..4d36b5bd7 100644
--- a/src/ln.c
+++ b/src/ln.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/logname.c b/src/logname.c
index 422bc657c..6c8f8a058 100644
--- a/src/logname.c
+++ b/src/logname.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/ls.c b/src/ls.c
index 183c0c166..840f310a1 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/md5sum.c b/src/md5sum.c
index 4330e85d1..c477115fd 100644
--- a/src/md5sum.c
+++ b/src/md5sum.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/mkdir.c b/src/mkdir.c
index b85186540..882c4e151 100644
--- a/src/mkdir.c
+++ b/src/mkdir.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/mkfifo.c b/src/mkfifo.c
index 8651ba39e..95bf6c158 100644
--- a/src/mkfifo.c
+++ b/src/mkfifo.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/mknod.c b/src/mknod.c
index af1aaec6d..13d4bb77f 100644
--- a/src/mknod.c
+++ b/src/mknod.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/mv.c b/src/mv.c
index 5ffe2ae23..a7e88c407 100644
--- a/src/mv.c
+++ b/src/mv.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/nice.c b/src/nice.c
index 8b6f4d814..6ace14a31 100644
--- a/src/nice.c
+++ b/src/nice.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/nl.c b/src/nl.c
index 39f27b841..a5f28de0d 100644
--- a/src/nl.c
+++ b/src/nl.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/nohup.c b/src/nohup.c
index aeab291c3..669829652 100644
--- a/src/nohup.c
+++ b/src/nohup.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/od.c b/src/od.c
index c5eefe18c..c2d419bcb 100644
--- a/src/od.c
+++ b/src/od.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/paste.c b/src/paste.c
index 808744818..79793ce27 100644
--- a/src/paste.c
+++ b/src/paste.c
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/pathchk.c b/src/pathchk.c
index 5e98d5a85..90255aa5e 100644
--- a/src/pathchk.c
+++ b/src/pathchk.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/pinky.c b/src/pinky.c
index ccc5d72e8..cd962c15f 100644
--- a/src/pinky.c
+++ b/src/pinky.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/pr.c b/src/pr.c
index f52170a42..8a65ca042 100644
--- a/src/pr.c
+++ b/src/pr.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/printenv.c b/src/printenv.c
index 3412f45f5..fa421e727 100644
--- a/src/printenv.c
+++ b/src/printenv.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/printf.c b/src/printf.c
index 61c22bf9c..7193f7669 100644
--- a/src/printf.c
+++ b/src/printf.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/ptx.c b/src/ptx.c
index ecf126cc6..b4211372c 100644
--- a/src/ptx.c
+++ b/src/ptx.c
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful, but
diff --git a/src/pwd.c b/src/pwd.c
index 73ee66e19..d9c76f2c5 100644
--- a/src/pwd.c
+++ b/src/pwd.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/readlink.c b/src/readlink.c
index 4a410bb00..2f1de739f 100644
--- a/src/readlink.c
+++ b/src/readlink.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/remove.c b/src/remove.c
index 804557db9..5e00f09a2 100644
--- a/src/remove.c
+++ b/src/remove.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/remove.h b/src/remove.h
index ae01e3c6c..92b8bf01d 100644
--- a/src/remove.h
+++ b/src/remove.h
@@ -5,7 +5,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/rm.c b/src/rm.c
index 77ffbefcb..703f09bcc 100644
--- a/src/rm.c
+++ b/src/rm.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/rmdir.c b/src/rmdir.c
index ca1af0e4c..b823ba7c9 100644
--- a/src/rmdir.c
+++ b/src/rmdir.c
@@ -5,7 +5,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/seq.c b/src/seq.c
index 329f3a483..5aa5bf53d 100644
--- a/src/seq.c
+++ b/src/seq.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/setuidgid.c b/src/setuidgid.c
index ccc8403fc..567fc4a97 100644
--- a/src/setuidgid.c
+++ b/src/setuidgid.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/shred.c b/src/shred.c
index 788f0e707..3efe45374 100644
--- a/src/shred.c
+++ b/src/shred.c
@@ -5,7 +5,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/shuf.c b/src/shuf.c
index a40c88dd7..af5995e47 100644
--- a/src/shuf.c
+++ b/src/shuf.c
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/sleep.c b/src/sleep.c
index 53bad0223..c329c8da3 100644
--- a/src/sleep.c
+++ b/src/sleep.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/sort.c b/src/sort.c
index 7290172b8..29a3c1805 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/split.c b/src/split.c
index a5ab8faf2..9c222ba40 100644
--- a/src/split.c
+++ b/src/split.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/stat.c b/src/stat.c
index e696f9959..d4dff8baa 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/stty.c b/src/stty.c
index 9e29f9dad..0c349e0ab 100644
--- a/src/stty.c
+++ b/src/stty.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/su.c b/src/su.c
index 532361608..08227646e 100644
--- a/src/su.c
+++ b/src/su.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/sum.c b/src/sum.c
index 90bc50172..77de30fbc 100644
--- a/src/sum.c
+++ b/src/sum.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/sync.c b/src/sync.c
index ce3fc0531..0356072a4 100644
--- a/src/sync.c
+++ b/src/sync.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/system.h b/src/system.h
index 114ec7a42..79b1d4726 100644
--- a/src/system.h
+++ b/src/system.h
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/tac-pipe.c b/src/tac-pipe.c
index d2c6f677b..8b19682a2 100644
--- a/src/tac-pipe.c
+++ b/src/tac-pipe.c
@@ -4,7 +4,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/tac.c b/src/tac.c
index e03ac6bc1..913c2a94a 100644
--- a/src/tac.c
+++ b/src/tac.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/tail.c b/src/tail.c
index 2e7db0b6a..37fb63842 100644
--- a/src/tail.c
+++ b/src/tail.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/tee.c b/src/tee.c
index 7e423b21c..50296feee 100644
--- a/src/tee.c
+++ b/src/tee.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/test.c b/src/test.c
index fcb68ef37..f721eb1d8 100644
--- a/src/test.c
+++ b/src/test.c
@@ -8,7 +8,7 @@
Bash 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, or (at your option) any later
+ Software Foundation; either version 3, or (at your option) any later
version.
Bash is distributed in the hope that it will be useful, but WITHOUT ANY
diff --git a/src/touch.c b/src/touch.c
index f9f2c10d0..112950594 100644
--- a/src/touch.c
+++ b/src/touch.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/tr.c b/src/tr.c
index 22287e2dc..28eeac35a 100644
--- a/src/tr.c
+++ b/src/tr.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/true.c b/src/true.c
index be20ed6d0..3a75dafaa 100644
--- a/src/true.c
+++ b/src/true.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/tsort.c b/src/tsort.c
index cfb12acb6..6d595a8ca 100644
--- a/src/tsort.c
+++ b/src/tsort.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/tty.c b/src/tty.c
index c1c876132..27484088f 100644
--- a/src/tty.c
+++ b/src/tty.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/uname.c b/src/uname.c
index 7389d422e..c7ae92676 100644
--- a/src/uname.c
+++ b/src/uname.c
@@ -5,7 +5,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/unexpand.c b/src/unexpand.c
index 051fe72e4..5e2b496ae 100644
--- a/src/unexpand.c
+++ b/src/unexpand.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/uniq.c b/src/uniq.c
index 36e2ea366..604f2ca4f 100644
--- a/src/uniq.c
+++ b/src/uniq.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/unlink.c b/src/unlink.c
index beef5a5a9..50320764b 100644
--- a/src/unlink.c
+++ b/src/unlink.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/uptime.c b/src/uptime.c
index c7bd7a453..a44e81cb2 100644
--- a/src/uptime.c
+++ b/src/uptime.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/users.c b/src/users.c
index 8071acd92..34514ec06 100644
--- a/src/users.c
+++ b/src/users.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/wc.c b/src/wc.c
index 884f86a50..5ffc4b43b 100644
--- a/src/wc.c
+++ b/src/wc.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/wheel-gen.pl b/src/wheel-gen.pl
index a22583008..28edd4bc1 100755
--- a/src/wheel-gen.pl
+++ b/src/wheel-gen.pl
@@ -5,7 +5,7 @@
# 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, or (at your option)
+# the Free Software Foundation; either version 3, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
diff --git a/src/who.c b/src/who.c
index b08c62318..37d444e04 100644
--- a/src/who.c
+++ b/src/who.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/whoami.c b/src/whoami.c
index d1167164b..f857b4da2 100644
--- a/src/whoami.c
+++ b/src/whoami.c
@@ -5,7 +5,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/src/yes.c b/src/yes.c
index f81fd8339..b3563172e 100644
--- a/src/yes.c
+++ b/src/yes.c
@@ -3,7 +3,7 @@
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, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/tests/Coreutils.pm b/tests/Coreutils.pm
index dd90a300a..bf7282487 100644
--- a/tests/Coreutils.pm
+++ b/tests/Coreutils.pm
@@ -6,7 +6,7 @@ package Coreutils;
# 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
+# 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,
diff --git a/tests/Makefile.am.in b/tests/Makefile.am.in
index 084db44c5..eb6b836fa 100644
--- a/tests/Makefile.am.in
+++ b/tests/Makefile.am.in
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/acl b/tests/acl
index 5c958ea31..98ca580cf 100644
--- a/tests/acl
+++ b/tests/acl
@@ -4,7 +4,7 @@
# 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
+# 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,
diff --git a/tests/chgrp/basic b/tests/chgrp/basic
index 475f12f8c..e7d8656bb 100755
--- a/tests/chgrp/basic
+++ b/tests/chgrp/basic
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/chgrp/default-no-deref b/tests/chgrp/default-no-deref
index d2b67536b..f06b5646b 100755
--- a/tests/chgrp/default-no-deref
+++ b/tests/chgrp/default-no-deref
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/chgrp/deref b/tests/chgrp/deref
index 413ae22f6..3242065d0 100755
--- a/tests/chgrp/deref
+++ b/tests/chgrp/deref
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/chgrp/no-x b/tests/chgrp/no-x
index e9c702d7f..81a87b1e6 100755
--- a/tests/chgrp/no-x
+++ b/tests/chgrp/no-x
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/chgrp/posix-H b/tests/chgrp/posix-H
index b8d1a8efa..03a3db448 100755
--- a/tests/chgrp/posix-H
+++ b/tests/chgrp/posix-H
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/chgrp/recurse b/tests/chgrp/recurse
index 871388c10..63244b7e6 100755
--- a/tests/chgrp/recurse
+++ b/tests/chgrp/recurse
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/chmod/c-option b/tests/chmod/c-option
index bf2c4a9a5..5b60880b2 100755
--- a/tests/chmod/c-option
+++ b/tests/chmod/c-option
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/chmod/equal-x b/tests/chmod/equal-x
index 3e16ce528..d693ce631 100755
--- a/tests/chmod/equal-x
+++ b/tests/chmod/equal-x
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/chmod/equals b/tests/chmod/equals
index bed16fb3e..b2f276e7e 100755
--- a/tests/chmod/equals
+++ b/tests/chmod/equals
@@ -8,7 +8,7 @@
# 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
+# 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,
diff --git a/tests/chmod/inaccessible b/tests/chmod/inaccessible
index 95e91c5b9..8d45121a5 100755
--- a/tests/chmod/inaccessible
+++ b/tests/chmod/inaccessible
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/chmod/no-x b/tests/chmod/no-x
index 34b395201..16ebb173b 100755
--- a/tests/chmod/no-x
+++ b/tests/chmod/no-x
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/chmod/octal b/tests/chmod/octal
index b727f8459..73e72a754 100755
--- a/tests/chmod/octal
+++ b/tests/chmod/octal
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/chmod/setgid b/tests/chmod/setgid
index d2868f930..efcff6c54 100755
--- a/tests/chmod/setgid
+++ b/tests/chmod/setgid
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/chmod/umask-x b/tests/chmod/umask-x
index 6bd1e0831..242915bc2 100755
--- a/tests/chmod/umask-x
+++ b/tests/chmod/umask-x
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/chmod/usage b/tests/chmod/usage
index a823063f4..088465368 100755
--- a/tests/chmod/usage
+++ b/tests/chmod/usage
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/chown/basic b/tests/chown/basic
index 39fad14f3..f0ab4471a 100755
--- a/tests/chown/basic
+++ b/tests/chown/basic
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/chown/deref b/tests/chown/deref
index e3da3ebe6..16f4ec6d0 100755
--- a/tests/chown/deref
+++ b/tests/chown/deref
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/chown/preserve-root b/tests/chown/preserve-root
index 4f8fe4f7f..fc4c05772 100755
--- a/tests/chown/preserve-root
+++ b/tests/chown/preserve-root
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/chown/separator b/tests/chown/separator
index d65b3712c..e2bd7290a 100755
--- a/tests/chown/separator
+++ b/tests/chown/separator
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/cp/Makefile.am b/tests/cp/Makefile.am
index 52e876b08..63ef759e0 100644
--- a/tests/cp/Makefile.am
+++ b/tests/cp/Makefile.am
@@ -4,7 +4,7 @@
# 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
+# 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,
diff --git a/tests/cp/acl b/tests/cp/acl
index 3a5eb3376..568ff9021 100755
--- a/tests/cp/acl
+++ b/tests/cp/acl
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/cp/backup-1 b/tests/cp/backup-1
index befce00a3..43f2517ed 100755
--- a/tests/cp/backup-1
+++ b/tests/cp/backup-1
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/cp/backup-dir b/tests/cp/backup-dir
index 9bbae3d8e..219e53edc 100755
--- a/tests/cp/backup-dir
+++ b/tests/cp/backup-dir
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/cp/backup-is-src b/tests/cp/backup-is-src
index b4f90c881..207bd8686 100755
--- a/tests/cp/backup-is-src
+++ b/tests/cp/backup-is-src
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/cp/cp-HL b/tests/cp/cp-HL
index 2d5fff2df..495df1681 100755
--- a/tests/cp/cp-HL
+++ b/tests/cp/cp-HL
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/cp/cp-a-selinux b/tests/cp/cp-a-selinux
index 338044f16..fb2270958 100755
--- a/tests/cp/cp-a-selinux
+++ b/tests/cp/cp-a-selinux
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/cp/cp-deref b/tests/cp/cp-deref
index d90139d3f..11bb1e258 100755
--- a/tests/cp/cp-deref
+++ b/tests/cp/cp-deref
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/cp/cp-i b/tests/cp/cp-i
index 896b0512b..578c6e97d 100755
--- a/tests/cp/cp-i
+++ b/tests/cp/cp-i
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/cp/cp-mv-backup b/tests/cp/cp-mv-backup
index cfbee41cc..d14864208 100755
--- a/tests/cp/cp-mv-backup
+++ b/tests/cp/cp-mv-backup
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/cp/cp-parents b/tests/cp/cp-parents
index 274f47d8d..b88244194 100755
--- a/tests/cp/cp-parents
+++ b/tests/cp/cp-parents
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/cp/deref-slink b/tests/cp/deref-slink
index 6034af6b5..646a3867a 100755
--- a/tests/cp/deref-slink
+++ b/tests/cp/deref-slink
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/cp/dir-rm-dest b/tests/cp/dir-rm-dest
index 325b40c2f..ae9e5b8c0 100755
--- a/tests/cp/dir-rm-dest
+++ b/tests/cp/dir-rm-dest
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/cp/dir-slash b/tests/cp/dir-slash
index 2c5a0bc7c..73388e986 100755
--- a/tests/cp/dir-slash
+++ b/tests/cp/dir-slash
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/cp/dir-vs-file b/tests/cp/dir-vs-file
index 612e297ad..b38c83e1a 100755
--- a/tests/cp/dir-vs-file
+++ b/tests/cp/dir-vs-file
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/cp/fail-perm b/tests/cp/fail-perm
index a7486b6af..d4949549d 100755
--- a/tests/cp/fail-perm
+++ b/tests/cp/fail-perm
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/cp/file-perm-race b/tests/cp/file-perm-race
index e16dd6422..d04a82e04 100755
--- a/tests/cp/file-perm-race
+++ b/tests/cp/file-perm-race
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/cp/into-self b/tests/cp/into-self
index 79c727a8d..4fe25a63c 100755
--- a/tests/cp/into-self
+++ b/tests/cp/into-self
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/cp/link b/tests/cp/link
index f448b5e65..2627c84f5 100755
--- a/tests/cp/link
+++ b/tests/cp/link
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/cp/link-no-deref b/tests/cp/link-no-deref
index 39f8bb9c4..817245243 100755
--- a/tests/cp/link-no-deref
+++ b/tests/cp/link-no-deref
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/cp/link-preserve b/tests/cp/link-preserve
index e0138e4b6..78b8da810 100755
--- a/tests/cp/link-preserve
+++ b/tests/cp/link-preserve
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/cp/no-deref-link1 b/tests/cp/no-deref-link1
index a8c499e45..cd032fe54 100755
--- a/tests/cp/no-deref-link1
+++ b/tests/cp/no-deref-link1
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/cp/no-deref-link2 b/tests/cp/no-deref-link2
index 57b4f4194..36fa3b070 100755
--- a/tests/cp/no-deref-link2
+++ b/tests/cp/no-deref-link2
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/cp/no-deref-link3 b/tests/cp/no-deref-link3
index 98e2ae923..8fda4b2e4 100755
--- a/tests/cp/no-deref-link3
+++ b/tests/cp/no-deref-link3
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/cp/parent-perm-race b/tests/cp/parent-perm-race
index d2870bcea..904fe496c 100755
--- a/tests/cp/parent-perm-race
+++ b/tests/cp/parent-perm-race
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/cp/perm b/tests/cp/perm
index 502ce70e3..a71dbd0f9 100755
--- a/tests/cp/perm
+++ b/tests/cp/perm
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/cp/preserve-2 b/tests/cp/preserve-2
index 85f9e1e6f..9714420cb 100755
--- a/tests/cp/preserve-2
+++ b/tests/cp/preserve-2
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/cp/r-vs-symlink b/tests/cp/r-vs-symlink
index 9601fb619..d88928a21 100755
--- a/tests/cp/r-vs-symlink
+++ b/tests/cp/r-vs-symlink
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/cp/same-file b/tests/cp/same-file
index 8e0593e40..09699acfa 100755
--- a/tests/cp/same-file
+++ b/tests/cp/same-file
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/cp/slink-2-slink b/tests/cp/slink-2-slink
index c36b88205..8ef7e0675 100755
--- a/tests/cp/slink-2-slink
+++ b/tests/cp/slink-2-slink
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/cp/sparse b/tests/cp/sparse
index b2e940e45..69cfee386 100755
--- a/tests/cp/sparse
+++ b/tests/cp/sparse
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/cp/special-bits b/tests/cp/special-bits
index 96dbf3d92..9caae4205 100755
--- a/tests/cp/special-bits
+++ b/tests/cp/special-bits
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/cp/src-base-dot b/tests/cp/src-base-dot
index 1af0e5794..8cf591c0a 100755
--- a/tests/cp/src-base-dot
+++ b/tests/cp/src-base-dot
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/cp/symlink-slash b/tests/cp/symlink-slash
index 311775a85..80047ce76 100755
--- a/tests/cp/symlink-slash
+++ b/tests/cp/symlink-slash
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/cp/thru-dangling b/tests/cp/thru-dangling
index 3888cf3d9..9c4c17452 100755
--- a/tests/cp/thru-dangling
+++ b/tests/cp/thru-dangling
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/cut/Test.pm b/tests/cut/Test.pm
index 109a13f42..65bdc4a0e 100755
--- a/tests/cut/Test.pm
+++ b/tests/cut/Test.pm
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/dd/misc b/tests/dd/misc
index fa5cfbe20..a12ead7d8 100755
--- a/tests/dd/misc
+++ b/tests/dd/misc
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/dd/not-rewound b/tests/dd/not-rewound
index 6caccd08e..92d93fa0a 100755
--- a/tests/dd/not-rewound
+++ b/tests/dd/not-rewound
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/dd/skip-seek b/tests/dd/skip-seek
index e6123cfae..520318b46 100755
--- a/tests/dd/skip-seek
+++ b/tests/dd/skip-seek
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/dd/skip-seek2 b/tests/dd/skip-seek2
index a4fc9abb0..12a268c7a 100755
--- a/tests/dd/skip-seek2
+++ b/tests/dd/skip-seek2
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/dd/unblock-sync b/tests/dd/unblock-sync
index d425091b1..ca9b124d9 100755
--- a/tests/dd/unblock-sync
+++ b/tests/dd/unblock-sync
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/dircolors/simple b/tests/dircolors/simple
index 2e5f1101b..96d0b360f 100755
--- a/tests/dircolors/simple
+++ b/tests/dircolors/simple
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/du/2g b/tests/du/2g
index 5ed11e7a6..e986bf9a3 100755
--- a/tests/du/2g
+++ b/tests/du/2g
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/du/8gb b/tests/du/8gb
index 400c29d2d..9d18bdbc5 100755
--- a/tests/du/8gb
+++ b/tests/du/8gb
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/du/Makefile.am b/tests/du/Makefile.am
index 3149cfac6..2d0888982 100644
--- a/tests/du/Makefile.am
+++ b/tests/du/Makefile.am
@@ -4,7 +4,7 @@
# 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
+# 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,
diff --git a/tests/du/basic b/tests/du/basic
index 665a416c8..a9e026c43 100755
--- a/tests/du/basic
+++ b/tests/du/basic
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/du/deref b/tests/du/deref
index 407797a8b..96ade7146 100755
--- a/tests/du/deref
+++ b/tests/du/deref
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/du/deref-args b/tests/du/deref-args
index 79225f5de..a8c29b396 100755
--- a/tests/du/deref-args
+++ b/tests/du/deref-args
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/du/exclude b/tests/du/exclude
index e197fcd78..2418b6a71 100755
--- a/tests/du/exclude
+++ b/tests/du/exclude
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/du/fd-leak b/tests/du/fd-leak
index 465fcaee0..f8024f5ea 100755
--- a/tests/du/fd-leak
+++ b/tests/du/fd-leak
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/du/files0-from b/tests/du/files0-from
index fdcb59575..948644d71 100755
--- a/tests/du/files0-from
+++ b/tests/du/files0-from
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/du/hard-link b/tests/du/hard-link
index 1e7a5f9c2..b01772cfc 100755
--- a/tests/du/hard-link
+++ b/tests/du/hard-link
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/du/inacc-dest b/tests/du/inacc-dest
index 0ff6b96ec..d1906483b 100755
--- a/tests/du/inacc-dest
+++ b/tests/du/inacc-dest
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/du/inaccessible-cwd b/tests/du/inaccessible-cwd
index 0f9f9b766..674759f4c 100755
--- a/tests/du/inaccessible-cwd
+++ b/tests/du/inaccessible-cwd
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/du/long-from-unreadable b/tests/du/long-from-unreadable
index f43a6dbb6..f92c68d55 100755
--- a/tests/du/long-from-unreadable
+++ b/tests/du/long-from-unreadable
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/du/long-sloop b/tests/du/long-sloop
index f5f9423f0..baf681e59 100755
--- a/tests/du/long-sloop
+++ b/tests/du/long-sloop
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/du/no-deref b/tests/du/no-deref
index 167f9c22b..5ff26cb5b 100755
--- a/tests/du/no-deref
+++ b/tests/du/no-deref
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/du/no-x b/tests/du/no-x
index fa93e97fd..e75bbd377 100755
--- a/tests/du/no-x
+++ b/tests/du/no-x
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/du/one-file-system b/tests/du/one-file-system
index b595dc678..9d7d97962 100755
--- a/tests/du/one-file-system
+++ b/tests/du/one-file-system
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/du/restore-wd b/tests/du/restore-wd
index 3b8a3c97f..aeb3319ad 100755
--- a/tests/du/restore-wd
+++ b/tests/du/restore-wd
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/du/slash b/tests/du/slash
index d3e1335bf..58d330e38 100755
--- a/tests/du/slash
+++ b/tests/du/slash
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/du/slink b/tests/du/slink
index 8be1a3072..8fdb393ae 100755
--- a/tests/du/slink
+++ b/tests/du/slink
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/du/trailing-slash b/tests/du/trailing-slash
index 4d607cd22..8177cd52d 100755
--- a/tests/du/trailing-slash
+++ b/tests/du/trailing-slash
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/du/two-args b/tests/du/two-args
index 93700a03b..b683e4c79 100755
--- a/tests/du/two-args
+++ b/tests/du/two-args
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/envvar-check b/tests/envvar-check
index ff5927f29..2f25c8b78 100644
--- a/tests/envvar-check
+++ b/tests/envvar-check
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/expensive b/tests/expensive
index cc3f40d50..d0e45b626 100644
--- a/tests/expensive
+++ b/tests/expensive
@@ -4,7 +4,7 @@
# 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
+# 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,
diff --git a/tests/expr/basic b/tests/expr/basic
index ee264d94c..d15d7f688 100755
--- a/tests/expr/basic
+++ b/tests/expr/basic
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/factor/basic b/tests/factor/basic
index 8b91cce09..f8e8fd197 100755
--- a/tests/factor/basic
+++ b/tests/factor/basic
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/fmt/basic b/tests/fmt/basic
index 66abe1305..7f43957bb 100755
--- a/tests/fmt/basic
+++ b/tests/fmt/basic
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/fmt/long-line b/tests/fmt/long-line
index f7e74c8ca..fb2d43555 100755
--- a/tests/fmt/long-line
+++ b/tests/fmt/long-line
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/general/Makefile.am b/tests/general/Makefile.am
index 1dbc1d1f6..88e2d3b54 100644
--- a/tests/general/Makefile.am
+++ b/tests/general/Makefile.am
@@ -5,7 +5,7 @@
## 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, or (at your option)
+## the Free Software Foundation; either version 3, or (at your option)
## any later version.
## This program is distributed in the hope that it will be useful,
diff --git a/tests/general/atgeneral.m4 b/tests/general/atgeneral.m4
index da974ca6c..7b1f312e8 100644
--- a/tests/general/atgeneral.m4
+++ b/tests/general/atgeneral.m4
@@ -4,7 +4,7 @@ include(m4sh.m4) -*- Autoconf -*-
# 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, or (at your option)
+# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
diff --git a/tests/general/dd.at b/tests/general/dd.at
index 8978313e7..49f54bfb4 100644
--- a/tests/general/dd.at
+++ b/tests/general/dd.at
@@ -4,7 +4,7 @@
# 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
+# 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,
diff --git a/tests/group-names b/tests/group-names
index eb5716052..f9c2e55ab 100644
--- a/tests/group-names
+++ b/tests/group-names
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/head/Test.pm b/tests/head/Test.pm
index 263ccaff1..c2ee359ad 100644
--- a/tests/head/Test.pm
+++ b/tests/head/Test.pm
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/help-version b/tests/help-version
index 3dea4d126..dd037eed6 100755
--- a/tests/help-version
+++ b/tests/help-version
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/install/basic-1 b/tests/install/basic-1
index 360cd9c3d..a2f5aec04 100755
--- a/tests/install/basic-1
+++ b/tests/install/basic-1
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/install/create-leading b/tests/install/create-leading
index fd7a5f7ff..61f1660d5 100755
--- a/tests/install/create-leading
+++ b/tests/install/create-leading
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/install/d-slashdot b/tests/install/d-slashdot
index 7bf7c5d43..06fe74d64 100755
--- a/tests/install/d-slashdot
+++ b/tests/install/d-slashdot
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/install/trap b/tests/install/trap
index aaf0a3346..4073ce096 100755
--- a/tests/install/trap
+++ b/tests/install/trap
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/join/Test.pm b/tests/join/Test.pm
index 3d60ce3dc..37fd3e26b 100644
--- a/tests/join/Test.pm
+++ b/tests/join/Test.pm
@@ -4,7 +4,7 @@
# 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
+# 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,
diff --git a/tests/ln/backup-1 b/tests/ln/backup-1
index b24669324..c2e93278d 100755
--- a/tests/ln/backup-1
+++ b/tests/ln/backup-1
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/ln/hard-backup b/tests/ln/hard-backup
index e37938d38..303fa6610 100755
--- a/tests/ln/hard-backup
+++ b/tests/ln/hard-backup
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/ln/misc b/tests/ln/misc
index 9fc348a52..2013d674d 100755
--- a/tests/ln/misc
+++ b/tests/ln/misc
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/ln/sf-1 b/tests/ln/sf-1
index 971c25b87..49a749d96 100755
--- a/tests/ln/sf-1
+++ b/tests/ln/sf-1
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/ln/target-1 b/tests/ln/target-1
index 3efb9879a..c6d10ef13 100755
--- a/tests/ln/target-1
+++ b/tests/ln/target-1
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/ls-2/tests b/tests/ls-2/tests
index 9bf40577d..7057b50f3 100755
--- a/tests/ls-2/tests
+++ b/tests/ls-2/tests
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/ls/Makefile.am b/tests/ls/Makefile.am
index 2b6fb9044..ecd018edb 100644
--- a/tests/ls/Makefile.am
+++ b/tests/ls/Makefile.am
@@ -4,7 +4,7 @@
# 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
+# 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,
diff --git a/tests/ls/color-dtype-dir b/tests/ls/color-dtype-dir
index 41c8bf3de..0ebc7738a 100755
--- a/tests/ls/color-dtype-dir
+++ b/tests/ls/color-dtype-dir
@@ -8,7 +8,7 @@
# 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
+# 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,
diff --git a/tests/ls/dangle b/tests/ls/dangle
index a3bc0d267..c37590629 100755
--- a/tests/ls/dangle
+++ b/tests/ls/dangle
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/ls/dired b/tests/ls/dired
index d6f32b4b9..c50fc145b 100755
--- a/tests/ls/dired
+++ b/tests/ls/dired
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/ls/file-type b/tests/ls/file-type
index 80d778af0..747834b63 100755
--- a/tests/ls/file-type
+++ b/tests/ls/file-type
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/ls/follow-slink b/tests/ls/follow-slink
index 00e9b1bfb..27001df14 100755
--- a/tests/ls/follow-slink
+++ b/tests/ls/follow-slink
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/ls/infloop b/tests/ls/infloop
index f7790b895..aa9f4f6e6 100755
--- a/tests/ls/infloop
+++ b/tests/ls/infloop
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/ls/inode b/tests/ls/inode
index 305eb2226..2550f2296 100755
--- a/tests/ls/inode
+++ b/tests/ls/inode
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/ls/m-option b/tests/ls/m-option
index e002fc47a..cb679a65f 100755
--- a/tests/ls/m-option
+++ b/tests/ls/m-option
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/ls/nameless-uid b/tests/ls/nameless-uid
index 70b06132f..c1136b14d 100755
--- a/tests/ls/nameless-uid
+++ b/tests/ls/nameless-uid
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/ls/no-arg b/tests/ls/no-arg
index 0c56e03b8..5c5ad17a1 100755
--- a/tests/ls/no-arg
+++ b/tests/ls/no-arg
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/ls/recursive b/tests/ls/recursive
index c4a27256c..316cb196e 100755
--- a/tests/ls/recursive
+++ b/tests/ls/recursive
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/ls/rt-1 b/tests/ls/rt-1
index 5c0f3c850..e1bfd3ebe 100755
--- a/tests/ls/rt-1
+++ b/tests/ls/rt-1
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/ls/stat-dtype b/tests/ls/stat-dtype
index 9e903ac60..168b8ddd7 100755
--- a/tests/ls/stat-dtype
+++ b/tests/ls/stat-dtype
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/ls/stat-failed b/tests/ls/stat-failed
index fb1cff8b1..fa5316864 100755
--- a/tests/ls/stat-failed
+++ b/tests/ls/stat-failed
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/ls/stat-vs-dirent b/tests/ls/stat-vs-dirent
index b71d7dd1c..5a9642554 100755
--- a/tests/ls/stat-vs-dirent
+++ b/tests/ls/stat-vs-dirent
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/ls/symlink-slash b/tests/ls/symlink-slash
index 1caa2219b..ccab737e4 100755
--- a/tests/ls/symlink-slash
+++ b/tests/ls/symlink-slash
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/ls/time-1 b/tests/ls/time-1
index aaaf04ad1..2e54c9b07 100755
--- a/tests/ls/time-1
+++ b/tests/ls/time-1
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/ls/x-option b/tests/ls/x-option
index 44556dfca..173c7a6c9 100755
--- a/tests/ls/x-option
+++ b/tests/ls/x-option
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/md5sum/basic-1 b/tests/md5sum/basic-1
index 5f02af257..28706d526 100755
--- a/tests/md5sum/basic-1
+++ b/tests/md5sum/basic-1
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/md5sum/newline-1 b/tests/md5sum/newline-1
index 5a4506fa0..9b632481f 100755
--- a/tests/md5sum/newline-1
+++ b/tests/md5sum/newline-1
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/Makefile.am b/tests/misc/Makefile.am
index 87a644ee0..0088e939d 100644
--- a/tests/misc/Makefile.am
+++ b/tests/misc/Makefile.am
@@ -4,7 +4,7 @@
# 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
+# 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,
diff --git a/tests/misc/base64 b/tests/misc/base64
index 70295fb7f..ee54f172d 100755
--- a/tests/misc/base64
+++ b/tests/misc/base64
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/misc/basename b/tests/misc/basename
index 89d96ff02..8230748ff 100755
--- a/tests/misc/basename
+++ b/tests/misc/basename
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/cat-proc b/tests/misc/cat-proc
index 22f384765..529b4a57a 100755
--- a/tests/misc/cat-proc
+++ b/tests/misc/cat-proc
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/misc/close-stdout b/tests/misc/close-stdout
index dd8bbc5e1..7d665842d 100755
--- a/tests/misc/close-stdout
+++ b/tests/misc/close-stdout
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/misc/csplit b/tests/misc/csplit
index 885d6928a..0bb58e399 100755
--- a/tests/misc/csplit
+++ b/tests/misc/csplit
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/misc/cut b/tests/misc/cut
index 803fbc143..7d3994a9d 100755
--- a/tests/misc/cut
+++ b/tests/misc/cut
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/date b/tests/misc/date
index 0ff834552..171817abc 100755
--- a/tests/misc/date
+++ b/tests/misc/date
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/date-sec b/tests/misc/date-sec
index 6852c8791..83de862ca 100755
--- a/tests/misc/date-sec
+++ b/tests/misc/date-sec
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/misc/df b/tests/misc/df
index 31040ca96..f4825de97 100755
--- a/tests/misc/df
+++ b/tests/misc/df
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/df-P b/tests/misc/df-P
index 3a5ec9b97..0fd4c152b 100755
--- a/tests/misc/df-P
+++ b/tests/misc/df-P
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/dirname b/tests/misc/dirname
index c217d9ab4..b1ce307b4 100755
--- a/tests/misc/dirname
+++ b/tests/misc/dirname
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/misc/expand b/tests/misc/expand
index dcf06815f..c73577498 100755
--- a/tests/misc/expand
+++ b/tests/misc/expand
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/misc/false-status b/tests/misc/false-status
index 612b5f90c..9da116c57 100755
--- a/tests/misc/false-status
+++ b/tests/misc/false-status
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/fold b/tests/misc/fold
index ceab2e9d8..88e7180b8 100755
--- a/tests/misc/fold
+++ b/tests/misc/fold
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/misc/head-c b/tests/misc/head-c
index ba13c32bc..f727435d4 100755
--- a/tests/misc/head-c
+++ b/tests/misc/head-c
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/head-elide-tail b/tests/misc/head-elide-tail
index 911ca6129..62c6121a0 100755
--- a/tests/misc/head-elide-tail
+++ b/tests/misc/head-elide-tail
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/misc/head-pos b/tests/misc/head-pos
index 9069febf3..196e4ddd1 100755
--- a/tests/misc/head-pos
+++ b/tests/misc/head-pos
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/misc/mknod b/tests/misc/mknod
index d7fb22eb0..06f51c33c 100755
--- a/tests/misc/mknod
+++ b/tests/misc/mknod
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/nice b/tests/misc/nice
index 02c10b5fb..f3a9e6f40 100755
--- a/tests/misc/nice
+++ b/tests/misc/nice
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/nl b/tests/misc/nl
index 72d2c2132..656576ebe 100755
--- a/tests/misc/nl
+++ b/tests/misc/nl
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/nohup b/tests/misc/nohup
index 61664738b..8c59630b5 100755
--- a/tests/misc/nohup
+++ b/tests/misc/nohup
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/paste-no-nl b/tests/misc/paste-no-nl
index 6fafb0845..2b7b6db56 100755
--- a/tests/misc/paste-no-nl
+++ b/tests/misc/paste-no-nl
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/misc/pathchk1 b/tests/misc/pathchk1
index 9305f0c2d..c427ec894 100755
--- a/tests/misc/pathchk1
+++ b/tests/misc/pathchk1
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/pr b/tests/misc/pr
index a40ea31c1..30efbe96d 100755
--- a/tests/misc/pr
+++ b/tests/misc/pr
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/misc/printf b/tests/misc/printf
index 481cb37a2..c7858f8bd 100755
--- a/tests/misc/printf
+++ b/tests/misc/printf
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/printf-hex b/tests/misc/printf-hex
index d3d5d04b2..f4d610059 100755
--- a/tests/misc/printf-hex
+++ b/tests/misc/printf-hex
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/pwd-long b/tests/misc/pwd-long
index 6fc83e258..20ecbcd94 100755
--- a/tests/misc/pwd-long
+++ b/tests/misc/pwd-long
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/pwd-unreadable-parent b/tests/misc/pwd-unreadable-parent
index 72c666ef3..c5a2efdf4 100755
--- a/tests/misc/pwd-unreadable-parent
+++ b/tests/misc/pwd-unreadable-parent
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/misc/runcon-no-reorder b/tests/misc/runcon-no-reorder
index e41fd3041..3f492dc37 100755
--- a/tests/misc/runcon-no-reorder
+++ b/tests/misc/runcon-no-reorder
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/sha224sum b/tests/misc/sha224sum
index 2b3c40201..ea05b1060 100755
--- a/tests/misc/sha224sum
+++ b/tests/misc/sha224sum
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/sha256sum b/tests/misc/sha256sum
index 59ee0726e..169697361 100755
--- a/tests/misc/sha256sum
+++ b/tests/misc/sha256sum
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/sha384sum b/tests/misc/sha384sum
index 823610441..4434bfe92 100755
--- a/tests/misc/sha384sum
+++ b/tests/misc/sha384sum
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/sha512sum b/tests/misc/sha512sum
index 84f4cfb3c..9eafaf6e0 100755
--- a/tests/misc/sha512sum
+++ b/tests/misc/sha512sum
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/shuf b/tests/misc/shuf
index a2d5891b2..c05c268f8 100755
--- a/tests/misc/shuf
+++ b/tests/misc/shuf
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/sort-compress b/tests/misc/sort-compress
index 0cafb2e9f..02ee4529c 100755
--- a/tests/misc/sort-compress
+++ b/tests/misc/sort-compress
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/sort-merge b/tests/misc/sort-merge
index a737e4d9d..de46063a1 100755
--- a/tests/misc/sort-merge
+++ b/tests/misc/sort-merge
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/sort-rand b/tests/misc/sort-rand
index f9973186e..e2bf34cff 100755
--- a/tests/misc/sort-rand
+++ b/tests/misc/sort-rand
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/split-a b/tests/misc/split-a
index 3026aac80..0ea448927 100755
--- a/tests/misc/split-a
+++ b/tests/misc/split-a
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/split-fail b/tests/misc/split-fail
index 8cdfe6478..66ced1ca6 100755
--- a/tests/misc/split-fail
+++ b/tests/misc/split-fail
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/split-l b/tests/misc/split-l
index 44916837e..6789ccb22 100755
--- a/tests/misc/split-l
+++ b/tests/misc/split-l
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/stat-fmt b/tests/misc/stat-fmt
index 435fbbb55..cf5e83f27 100755
--- a/tests/misc/stat-fmt
+++ b/tests/misc/stat-fmt
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/stat-printf b/tests/misc/stat-printf
index ecd494093..e2d9edd65 100755
--- a/tests/misc/stat-printf
+++ b/tests/misc/stat-printf
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/tac-continue b/tests/misc/tac-continue
index d8f50ffc4..b75570aed 100755
--- a/tests/misc/tac-continue
+++ b/tests/misc/tac-continue
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/misc/test-diag b/tests/misc/test-diag
index d2a40fa23..f0049c507 100755
--- a/tests/misc/test-diag
+++ b/tests/misc/test-diag
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/tty-eof b/tests/misc/tty-eof
index dca154e29..bffdcd5d0 100755
--- a/tests/misc/tty-eof
+++ b/tests/misc/tty-eof
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/misc/wc-files0 b/tests/misc/wc-files0
index 8991e7e12..597ffce62 100755
--- a/tests/misc/wc-files0
+++ b/tests/misc/wc-files0
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/misc/wc-files0-from b/tests/misc/wc-files0-from
index 72f1bdf89..4df710fc1 100755
--- a/tests/misc/wc-files0-from
+++ b/tests/misc/wc-files0-from
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/mk-script b/tests/mk-script
index d3de016f4..63b0f36ee 100755
--- a/tests/mk-script
+++ b/tests/mk-script
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/mkdir/concurrent-1 b/tests/mkdir/concurrent-1
index 0a8c14295..6931c624b 100755
--- a/tests/mkdir/concurrent-1
+++ b/tests/mkdir/concurrent-1
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/mkdir/p-1 b/tests/mkdir/p-1
index 7e384e415..bb1c92aae 100755
--- a/tests/mkdir/p-1
+++ b/tests/mkdir/p-1
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/mkdir/p-2 b/tests/mkdir/p-2
index 53ad876e2..560be3177 100755
--- a/tests/mkdir/p-2
+++ b/tests/mkdir/p-2
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/mkdir/p-3 b/tests/mkdir/p-3
index 54e99e172..f22e05c3d 100755
--- a/tests/mkdir/p-3
+++ b/tests/mkdir/p-3
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/mkdir/p-slashdot b/tests/mkdir/p-slashdot
index 5a3561d60..4012d3348 100755
--- a/tests/mkdir/p-slashdot
+++ b/tests/mkdir/p-slashdot
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/mkdir/p-thru-slink b/tests/mkdir/p-thru-slink
index f44be660d..a48c65d8d 100755
--- a/tests/mkdir/p-thru-slink
+++ b/tests/mkdir/p-thru-slink
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/mkdir/p-v b/tests/mkdir/p-v
index 267542353..da84ebf11 100755
--- a/tests/mkdir/p-v
+++ b/tests/mkdir/p-v
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/mkdir/parents b/tests/mkdir/parents
index d956e39d7..604293209 100755
--- a/tests/mkdir/parents
+++ b/tests/mkdir/parents
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/mkdir/perm b/tests/mkdir/perm
index 3853f2a3b..707178874 100755
--- a/tests/mkdir/perm
+++ b/tests/mkdir/perm
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/mkdir/special-1 b/tests/mkdir/special-1
index 7f8dc7405..621a5a689 100755
--- a/tests/mkdir/special-1
+++ b/tests/mkdir/special-1
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/mkdir/t-slash b/tests/mkdir/t-slash
index e002ab21f..ea8fcc19c 100755
--- a/tests/mkdir/t-slash
+++ b/tests/mkdir/t-slash
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/mkdir/writable-under-readonly b/tests/mkdir/writable-under-readonly
index ccd633e52..4d19c5695 100755
--- a/tests/mkdir/writable-under-readonly
+++ b/tests/mkdir/writable-under-readonly
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/mv/Makefile.am b/tests/mv/Makefile.am
index 71c911994..9392afdb3 100644
--- a/tests/mv/Makefile.am
+++ b/tests/mv/Makefile.am
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/mv/acl b/tests/mv/acl
index 9128686ee..005832fa7 100755
--- a/tests/mv/acl
+++ b/tests/mv/acl
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/mv/atomic b/tests/mv/atomic
index 728bbfa1f..2b49fdeb7 100755
--- a/tests/mv/atomic
+++ b/tests/mv/atomic
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/mv/backup-dir b/tests/mv/backup-dir
index 72ffce1eb..f690a57db 100755
--- a/tests/mv/backup-dir
+++ b/tests/mv/backup-dir
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/mv/backup-is-src b/tests/mv/backup-is-src
index 8d5c69d6e..6f739c58f 100755
--- a/tests/mv/backup-is-src
+++ b/tests/mv/backup-is-src
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/mv/childproof b/tests/mv/childproof
index 41cdfce18..eb4e6f6fa 100755
--- a/tests/mv/childproof
+++ b/tests/mv/childproof
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/mv/diag b/tests/mv/diag
index 63eb3c628..5987d92c6 100755
--- a/tests/mv/diag
+++ b/tests/mv/diag
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/mv/dir-file b/tests/mv/dir-file
index 9c540b293..f9aac37b8 100755
--- a/tests/mv/dir-file
+++ b/tests/mv/dir-file
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/mv/dir2dir b/tests/mv/dir2dir
index 11ae26ed1..eca20a16e 100755
--- a/tests/mv/dir2dir
+++ b/tests/mv/dir2dir
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/mv/dup-source b/tests/mv/dup-source
index 7965c91a5..513ce9ca6 100755
--- a/tests/mv/dup-source
+++ b/tests/mv/dup-source
@@ -8,7 +8,7 @@
# 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
+# 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,
diff --git a/tests/mv/force b/tests/mv/force
index 3836ec046..b26154b56 100755
--- a/tests/mv/force
+++ b/tests/mv/force
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/mv/hard-2 b/tests/mv/hard-2
index 101f334d2..7054bdf40 100755
--- a/tests/mv/hard-2
+++ b/tests/mv/hard-2
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/mv/hard-3 b/tests/mv/hard-3
index ce8372840..7b05cb9cc 100755
--- a/tests/mv/hard-3
+++ b/tests/mv/hard-3
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/mv/hard-4 b/tests/mv/hard-4
index 118479af0..99c4fc1ff 100755
--- a/tests/mv/hard-4
+++ b/tests/mv/hard-4
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/mv/hard-link-1 b/tests/mv/hard-link-1
index 7ce9176e1..2a1957426 100755
--- a/tests/mv/hard-link-1
+++ b/tests/mv/hard-link-1
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/mv/hard-verbose b/tests/mv/hard-verbose
index 9c02ac14d..47b4d2e97 100755
--- a/tests/mv/hard-verbose
+++ b/tests/mv/hard-verbose
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/mv/i-1 b/tests/mv/i-1
index 3ab73c08d..2dad7b398 100755
--- a/tests/mv/i-1
+++ b/tests/mv/i-1
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/mv/i-2 b/tests/mv/i-2
index 36d1ce474..1a5b7a765 100755
--- a/tests/mv/i-2
+++ b/tests/mv/i-2
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/mv/i-3 b/tests/mv/i-3
index 937479e42..8949847a1 100755
--- a/tests/mv/i-3
+++ b/tests/mv/i-3
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/mv/i-4 b/tests/mv/i-4
index 594c155fb..0f8ecab50 100755
--- a/tests/mv/i-4
+++ b/tests/mv/i-4
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/mv/i-5 b/tests/mv/i-5
index 2fec7edf7..460710da3 100755
--- a/tests/mv/i-5
+++ b/tests/mv/i-5
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/mv/i-link-no b/tests/mv/i-link-no
index 2931af60e..c4af29452 100755
--- a/tests/mv/i-link-no
+++ b/tests/mv/i-link-no
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/mv/into-self b/tests/mv/into-self
index 69f0e5d18..7a673d5b6 100755
--- a/tests/mv/into-self
+++ b/tests/mv/into-self
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/mv/into-self-2 b/tests/mv/into-self-2
index 11fddf210..cb345ab6b 100755
--- a/tests/mv/into-self-2
+++ b/tests/mv/into-self-2
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/mv/into-self-3 b/tests/mv/into-self-3
index 6b08d3105..83c30baba 100755
--- a/tests/mv/into-self-3
+++ b/tests/mv/into-self-3
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/mv/into-self-4 b/tests/mv/into-self-4
index 13357b78d..8c3b63f45 100755
--- a/tests/mv/into-self-4
+++ b/tests/mv/into-self-4
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/mv/leak-fd b/tests/mv/leak-fd
index 1592e0c50..3894a5c79 100755
--- a/tests/mv/leak-fd
+++ b/tests/mv/leak-fd
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/mv/mv-special-1 b/tests/mv/mv-special-1
index 4d7c6978c..c4bd5c236 100755
--- a/tests/mv/mv-special-1
+++ b/tests/mv/mv-special-1
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/mv/no-target-dir b/tests/mv/no-target-dir
index db7fe9456..3d43f758c 100755
--- a/tests/mv/no-target-dir
+++ b/tests/mv/no-target-dir
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/mv/part-fail b/tests/mv/part-fail
index e4c5dc96e..734c9755e 100755
--- a/tests/mv/part-fail
+++ b/tests/mv/part-fail
@@ -8,7 +8,7 @@
# 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
+# 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,
diff --git a/tests/mv/part-hardlink b/tests/mv/part-hardlink
index 66cfe0d4c..a8065b414 100755
--- a/tests/mv/part-hardlink
+++ b/tests/mv/part-hardlink
@@ -8,7 +8,7 @@
# 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
+# 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,
diff --git a/tests/mv/part-rename b/tests/mv/part-rename
index b8c03e092..f85c6379e 100755
--- a/tests/mv/part-rename
+++ b/tests/mv/part-rename
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/mv/part-symlink b/tests/mv/part-symlink
index 5cd198cad..1c8e95655 100755
--- a/tests/mv/part-symlink
+++ b/tests/mv/part-symlink
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/mv/partition-perm b/tests/mv/partition-perm
index 129146a80..399cd7a00 100755
--- a/tests/mv/partition-perm
+++ b/tests/mv/partition-perm
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/mv/perm-1 b/tests/mv/perm-1
index 1b9ab289a..1c3bf5938 100755
--- a/tests/mv/perm-1
+++ b/tests/mv/perm-1
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/mv/reply-no b/tests/mv/reply-no
index ae0a3cd2e..2df4b01c5 100755
--- a/tests/mv/reply-no
+++ b/tests/mv/reply-no
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/mv/to-symlink b/tests/mv/to-symlink
index 6473cfba3..c6a328c2a 100755
--- a/tests/mv/to-symlink
+++ b/tests/mv/to-symlink
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/mv/trailing-slash b/tests/mv/trailing-slash
index b734624de..7491e2fcb 100755
--- a/tests/mv/trailing-slash
+++ b/tests/mv/trailing-slash
@@ -8,7 +8,7 @@
# 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
+# 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,
diff --git a/tests/mv/update b/tests/mv/update
index 6bf161efa..0c0602414 100755
--- a/tests/mv/update
+++ b/tests/mv/update
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/mv/vfat b/tests/mv/vfat
index 20b10e26e..5107e0b2e 100644
--- a/tests/mv/vfat
+++ b/tests/mv/vfat
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/od/od-N b/tests/od/od-N
index 0fbe3ead5..4491d23d6 100755
--- a/tests/od/od-N
+++ b/tests/od/od-N
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/od/x8 b/tests/od/x8
index c92fcab71..2c7eb69b7 100755
--- a/tests/od/x8
+++ b/tests/od/x8
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/other-fs-tmpdir b/tests/other-fs-tmpdir
index 0886437aa..0febdb095 100755
--- a/tests/other-fs-tmpdir
+++ b/tests/other-fs-tmpdir
@@ -8,7 +8,7 @@
# 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
+# 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,
diff --git a/tests/pr/Test.pm b/tests/pr/Test.pm
index f60293c22..aa88d2e6a 100644
--- a/tests/pr/Test.pm
+++ b/tests/pr/Test.pm
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/priv-check b/tests/priv-check
index b0d6c92b9..25a2312d0 100644
--- a/tests/priv-check
+++ b/tests/priv-check
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/readlink/can-e b/tests/readlink/can-e
index 5e30ffc62..59302fdc1 100755
--- a/tests/readlink/can-e
+++ b/tests/readlink/can-e
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/readlink/can-f b/tests/readlink/can-f
index c83e0ed70..44c274a58 100755
--- a/tests/readlink/can-f
+++ b/tests/readlink/can-f
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/readlink/can-m b/tests/readlink/can-m
index 1d67c65d4..1ae692892 100755
--- a/tests/readlink/can-m
+++ b/tests/readlink/can-m
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/readlink/rl-1 b/tests/readlink/rl-1
index d9c891341..fae51aad6 100755
--- a/tests/readlink/rl-1
+++ b/tests/readlink/rl-1
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/rm/Makefile.am b/tests/rm/Makefile.am
index e94648945..f563bcd49 100644
--- a/tests/rm/Makefile.am
+++ b/tests/rm/Makefile.am
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/rm/cycle b/tests/rm/cycle
index 22936ee00..dee4d8e9c 100755
--- a/tests/rm/cycle
+++ b/tests/rm/cycle
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/rm/dangling-symlink b/tests/rm/dangling-symlink
index 17794e0d1..df4e90b73 100755
--- a/tests/rm/dangling-symlink
+++ b/tests/rm/dangling-symlink
@@ -8,7 +8,7 @@
# 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
+# 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,
diff --git a/tests/rm/deep-1 b/tests/rm/deep-1
index 41928862b..8437cadef 100755
--- a/tests/rm/deep-1
+++ b/tests/rm/deep-1
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/rm/dir-no-w b/tests/rm/dir-no-w
index 27aba6aa9..cbaee19b9 100755
--- a/tests/rm/dir-no-w
+++ b/tests/rm/dir-no-w
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/rm/dir-nonrecur b/tests/rm/dir-nonrecur
index 5b09821c0..446e13ef0 100755
--- a/tests/rm/dir-nonrecur
+++ b/tests/rm/dir-nonrecur
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/rm/dot-rel b/tests/rm/dot-rel
index 2ffa49e4f..8abeaacc3 100755
--- a/tests/rm/dot-rel
+++ b/tests/rm/dot-rel
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/rm/empty-inacc b/tests/rm/empty-inacc
index bc040689d..0a7120c8b 100755
--- a/tests/rm/empty-inacc
+++ b/tests/rm/empty-inacc
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/rm/empty-name b/tests/rm/empty-name
index e24a722ff..b47d1c4f2 100755
--- a/tests/rm/empty-name
+++ b/tests/rm/empty-name
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/rm/f-1 b/tests/rm/f-1
index 33041a350..db464bfc1 100755
--- a/tests/rm/f-1
+++ b/tests/rm/f-1
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/rm/fail-2eperm b/tests/rm/fail-2eperm
index 503817591..2a59848bf 100755
--- a/tests/rm/fail-2eperm
+++ b/tests/rm/fail-2eperm
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/rm/fail-eacces b/tests/rm/fail-eacces
index b32284864..d079ffba2 100755
--- a/tests/rm/fail-eacces
+++ b/tests/rm/fail-eacces
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/rm/fail-eperm b/tests/rm/fail-eperm
index 8801abacb..de2270aff 100755
--- a/tests/rm/fail-eperm
+++ b/tests/rm/fail-eperm
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/rm/hash b/tests/rm/hash
index 036240c8c..2b7e93b62 100755
--- a/tests/rm/hash
+++ b/tests/rm/hash
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/rm/i-1 b/tests/rm/i-1
index 214292bc4..3eeeecf90 100755
--- a/tests/rm/i-1
+++ b/tests/rm/i-1
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/rm/i-never b/tests/rm/i-never
index f20e90e78..25915a09b 100755
--- a/tests/rm/i-never
+++ b/tests/rm/i-never
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/rm/i-no-r b/tests/rm/i-no-r
index b23ff5e62..4ed8e92a5 100755
--- a/tests/rm/i-no-r
+++ b/tests/rm/i-no-r
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/rm/ignorable b/tests/rm/ignorable
index 6036dd945..77c9deafc 100755
--- a/tests/rm/ignorable
+++ b/tests/rm/ignorable
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/rm/inaccessible b/tests/rm/inaccessible
index 02128d70e..ebb42ea7e 100755
--- a/tests/rm/inaccessible
+++ b/tests/rm/inaccessible
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/rm/interactive-always b/tests/rm/interactive-always
index 7b8166484..b18d23d19 100755
--- a/tests/rm/interactive-always
+++ b/tests/rm/interactive-always
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/rm/interactive-once b/tests/rm/interactive-once
index 9325e8e70..906825efc 100755
--- a/tests/rm/interactive-once
+++ b/tests/rm/interactive-once
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/rm/ir-1 b/tests/rm/ir-1
index 71f142004..0f50750b1 100755
--- a/tests/rm/ir-1
+++ b/tests/rm/ir-1
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/rm/isatty b/tests/rm/isatty
index 202dc0195..06c655533 100755
--- a/tests/rm/isatty
+++ b/tests/rm/isatty
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/rm/no-give-up b/tests/rm/no-give-up
index d90e9e6dc..f09451d08 100755
--- a/tests/rm/no-give-up
+++ b/tests/rm/no-give-up
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/rm/one-file-system b/tests/rm/one-file-system
index 66c04d5ec..86308d4c9 100755
--- a/tests/rm/one-file-system
+++ b/tests/rm/one-file-system
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/rm/r-1 b/tests/rm/r-1
index 7b6f187fd..5d28e9521 100755
--- a/tests/rm/r-1
+++ b/tests/rm/r-1
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/rm/r-2 b/tests/rm/r-2
index 68e61874e..8549eb691 100755
--- a/tests/rm/r-2
+++ b/tests/rm/r-2
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/rm/r-3 b/tests/rm/r-3
index 0d85f64d9..ee87f785a 100755
--- a/tests/rm/r-3
+++ b/tests/rm/r-3
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/rm/r-4 b/tests/rm/r-4
index 355133598..b42e425a0 100755
--- a/tests/rm/r-4
+++ b/tests/rm/r-4
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/rm/readdir-bug b/tests/rm/readdir-bug
index a82aa955e..9efe1c04c 100755
--- a/tests/rm/readdir-bug
+++ b/tests/rm/readdir-bug
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/rm/rm1 b/tests/rm/rm1
index 8987cd2d5..000fa6bef 100755
--- a/tests/rm/rm1
+++ b/tests/rm/rm1
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/rm/rm2 b/tests/rm/rm2
index c64a9f352..c7a860c67 100755
--- a/tests/rm/rm2
+++ b/tests/rm/rm2
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/rm/rm3 b/tests/rm/rm3
index b3caf49ea..d1c2c852f 100755
--- a/tests/rm/rm3
+++ b/tests/rm/rm3
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/rm/rm4 b/tests/rm/rm4
index 944aaec38..cd1a8f12e 100755
--- a/tests/rm/rm4
+++ b/tests/rm/rm4
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/rm/rm5 b/tests/rm/rm5
index 297d02afc..ced9ccf88 100755
--- a/tests/rm/rm5
+++ b/tests/rm/rm5
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/rm/sunos-1 b/tests/rm/sunos-1
index 1f6a09cd3..14d56e02f 100755
--- a/tests/rm/sunos-1
+++ b/tests/rm/sunos-1
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/rm/unread2 b/tests/rm/unread2
index e67c9ae38..3a1de0dbd 100755
--- a/tests/rm/unread2
+++ b/tests/rm/unread2
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/rm/unread3 b/tests/rm/unread3
index 4021a39d2..c2f6e900b 100755
--- a/tests/rm/unread3
+++ b/tests/rm/unread3
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/rm/unreadable b/tests/rm/unreadable
index ca24deb86..095d803b8 100755
--- a/tests/rm/unreadable
+++ b/tests/rm/unreadable
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/rmdir/fail-perm b/tests/rmdir/fail-perm
index 3b4440f36..5561456df 100755
--- a/tests/rmdir/fail-perm
+++ b/tests/rmdir/fail-perm
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/rmdir/ignore b/tests/rmdir/ignore
index ba6db028a..cb9b2fb17 100755
--- a/tests/rmdir/ignore
+++ b/tests/rmdir/ignore
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/rmdir/t-slash b/tests/rmdir/t-slash
index e81c4db3d..898d90f15 100755
--- a/tests/rmdir/t-slash
+++ b/tests/rmdir/t-slash
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/rwx-to-mode b/tests/rwx-to-mode
index fbeb6702a..495081b6a 100755
--- a/tests/rwx-to-mode
+++ b/tests/rwx-to-mode
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/sample-test b/tests/sample-test
index 87e16ff31..e45a4c188 100644
--- a/tests/sample-test
+++ b/tests/sample-test
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/selinux b/tests/selinux
index 1c4d8a8a6..974fe36c6 100644
--- a/tests/selinux
+++ b/tests/selinux
@@ -3,7 +3,7 @@
# 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
+# 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,
diff --git a/tests/seq/basic b/tests/seq/basic
index 6a277ba75..afeeb26ff 100755
--- a/tests/seq/basic
+++ b/tests/seq/basic
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/setgid-check b/tests/setgid-check
index adeefb664..a7a1efc21 100644
--- a/tests/setgid-check
+++ b/tests/setgid-check
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/sha1sum/basic-1 b/tests/sha1sum/basic-1
index 35562bd4a..3de6737fe 100755
--- a/tests/sha1sum/basic-1
+++ b/tests/sha1sum/basic-1
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/sha1sum/sample-vec b/tests/sha1sum/sample-vec
index 86dfd4b5a..35a703c88 100755
--- a/tests/sha1sum/sample-vec
+++ b/tests/sha1sum/sample-vec
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/shred/exact b/tests/shred/exact
index 3f04d73ce..f08f753d8 100755
--- a/tests/shred/exact
+++ b/tests/shred/exact
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/shred/remove b/tests/shred/remove
index 1f1a398f3..7b9968086 100755
--- a/tests/shred/remove
+++ b/tests/shred/remove
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/sort-time/Makefile b/tests/sort-time/Makefile
index 3bd8f1603..9d43032ad 100644
--- a/tests/sort-time/Makefile
+++ b/tests/sort-time/Makefile
@@ -2,7 +2,7 @@
# 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
+# 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,
diff --git a/tests/sort-time/README b/tests/sort-time/README
index 14b7e2119..7fa6a4063 100644
--- a/tests/sort-time/README
+++ b/tests/sort-time/README
@@ -4,7 +4,7 @@
# 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
+# 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,
diff --git a/tests/sort-time/rand-gen b/tests/sort-time/rand-gen
index d0bab646f..20eaac0ac 100755
--- a/tests/sort-time/rand-gen
+++ b/tests/sort-time/rand-gen
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/sort/Test.pm b/tests/sort/Test.pm
index dc41d9212..8b160bddb 100755
--- a/tests/sort/Test.pm
+++ b/tests/sort/Test.pm
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/sparse-file b/tests/sparse-file
index 4d8c7a6bd..23f951654 100644
--- a/tests/sparse-file
+++ b/tests/sparse-file
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/stty/basic-1 b/tests/stty/basic-1
index 5af1ab34f..5b83a58be 100755
--- a/tests/stty/basic-1
+++ b/tests/stty/basic-1
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/stty/invalid b/tests/stty/invalid
index 127a2f560..bb501e2d7 100755
--- a/tests/stty/invalid
+++ b/tests/stty/invalid
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/stty/row-col-1 b/tests/stty/row-col-1
index 83d34a770..2cd59843b 100755
--- a/tests/stty/row-col-1
+++ b/tests/stty/row-col-1
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/sum/basic-1 b/tests/sum/basic-1
index 2f5b2e12b..a5a9d6bc2 100755
--- a/tests/sum/basic-1
+++ b/tests/sum/basic-1
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/sum/sysv b/tests/sum/sysv
index 93dff3d36..af1d1b192 100755
--- a/tests/sum/sysv
+++ b/tests/sum/sysv
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/tac/Test.pm b/tests/tac/Test.pm
index 8e46b4616..1d7de2179 100644
--- a/tests/tac/Test.pm
+++ b/tests/tac/Test.pm
@@ -4,7 +4,7 @@
# 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
+# 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,
diff --git a/tests/tail-2/Makefile.am b/tests/tail-2/Makefile.am
index e038a1b66..a0b225a5e 100644
--- a/tests/tail-2/Makefile.am
+++ b/tests/tail-2/Makefile.am
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/tail-2/append-only b/tests/tail-2/append-only
index cee664473..6f900ce15 100755
--- a/tests/tail-2/append-only
+++ b/tests/tail-2/append-only
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/tail-2/assert b/tests/tail-2/assert
index b94a6ba18..a56674677 100755
--- a/tests/tail-2/assert
+++ b/tests/tail-2/assert
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/tail-2/assert-2 b/tests/tail-2/assert-2
index f53575855..2052c77ba 100755
--- a/tests/tail-2/assert-2
+++ b/tests/tail-2/assert-2
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/tail-2/big-4gb b/tests/tail-2/big-4gb
index b0ca79d28..d1f362e97 100755
--- a/tests/tail-2/big-4gb
+++ b/tests/tail-2/big-4gb
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/tail-2/fflush b/tests/tail-2/fflush
index 0aa80afd4..49dbfab22 100755
--- a/tests/tail-2/fflush
+++ b/tests/tail-2/fflush
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/tail-2/infloop-1 b/tests/tail-2/infloop-1
index 580ec59a3..2eb45275a 100755
--- a/tests/tail-2/infloop-1
+++ b/tests/tail-2/infloop-1
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/tail-2/proc-ksyms b/tests/tail-2/proc-ksyms
index ba9fccd6e..688e67c10 100755
--- a/tests/tail-2/proc-ksyms
+++ b/tests/tail-2/proc-ksyms
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/tail-2/start-middle b/tests/tail-2/start-middle
index 92a939a9d..6f2fc1417 100755
--- a/tests/tail-2/start-middle
+++ b/tests/tail-2/start-middle
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/tail-2/tail-n0f b/tests/tail-2/tail-n0f
index 298fca4b4..aa841084c 100755
--- a/tests/tail-2/tail-n0f
+++ b/tests/tail-2/tail-n0f
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/tail/Test.pm b/tests/tail/Test.pm
index 056f3aee0..8fb57f26b 100755
--- a/tests/tail/Test.pm
+++ b/tests/tail/Test.pm
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/tee/basic b/tests/tee/basic
index 77651408d..4160b585f 100755
--- a/tests/tee/basic
+++ b/tests/tee/basic
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/tee/dash b/tests/tee/dash
index c6b9e817a..eac9a90e1 100755
--- a/tests/tee/dash
+++ b/tests/tee/dash
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/test/Test.pm b/tests/test/Test.pm
index 865fc4816..c1e64568e 100644
--- a/tests/test/Test.pm
+++ b/tests/test/Test.pm
@@ -4,7 +4,7 @@
# 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
+# 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,
diff --git a/tests/touch/Makefile.am b/tests/touch/Makefile.am
index 1fce9cd67..40487667c 100644
--- a/tests/touch/Makefile.am
+++ b/tests/touch/Makefile.am
@@ -4,7 +4,7 @@
# 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
+# 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,
diff --git a/tests/touch/dangling-symlink b/tests/touch/dangling-symlink
index 2f4390211..7e908748a 100755
--- a/tests/touch/dangling-symlink
+++ b/tests/touch/dangling-symlink
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/touch/empty-file b/tests/touch/empty-file
index b918362c8..854d61168 100755
--- a/tests/touch/empty-file
+++ b/tests/touch/empty-file
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/touch/fail-diag b/tests/touch/fail-diag
index 082f75454..5c26ebde8 100755
--- a/tests/touch/fail-diag
+++ b/tests/touch/fail-diag
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/touch/fifo b/tests/touch/fifo
index dc33c0f28..83257af9d 100755
--- a/tests/touch/fifo
+++ b/tests/touch/fifo
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/touch/no-create-missing b/tests/touch/no-create-missing
index cf6b6dc6a..c3b415508 100755
--- a/tests/touch/no-create-missing
+++ b/tests/touch/no-create-missing
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/touch/no-rights b/tests/touch/no-rights
index 8faef99bf..c216f628a 100755
--- a/tests/touch/no-rights
+++ b/tests/touch/no-rights
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/touch/not-owner b/tests/touch/not-owner
index 4d63ad7a3..7a105bde9 100755
--- a/tests/touch/not-owner
+++ b/tests/touch/not-owner
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/touch/obsolescent b/tests/touch/obsolescent
index 0f9921002..a6c5b707a 100755
--- a/tests/touch/obsolescent
+++ b/tests/touch/obsolescent
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/touch/read-only b/tests/touch/read-only
index 0a12ec7e6..a823feea1 100755
--- a/tests/touch/read-only
+++ b/tests/touch/read-only
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/touch/relative b/tests/touch/relative
index dc1e49e5b..e27241b7a 100755
--- a/tests/touch/relative
+++ b/tests/touch/relative
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/tr/Test.pm b/tests/tr/Test.pm
index 625b47b98..db031072e 100755
--- a/tests/tr/Test.pm
+++ b/tests/tr/Test.pm
@@ -5,7 +5,7 @@
# 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
+# 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,
diff --git a/tests/tr/failures b/tests/tr/failures
index ab7d50f8c..7dbd47cbb 100644
--- a/tests/tr/failures
+++ b/tests/tr/failures
@@ -4,7 +4,7 @@
# 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
+# 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,
diff --git a/tests/tsort/basic-1 b/tests/tsort/basic-1
index 4fe24f328..db323a89a 100755
--- a/tests/tsort/basic-1
+++ b/tests/tsort/basic-1
@@ -7,7 +7,7 @@
# 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
+# 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,
diff --git a/tests/umask-check b/tests/umask-check
index 2e0aba029..e5f8718a3 100644
--- a/tests/umask-check
+++ b/tests/umask-check
@@ -5,7 +5,7 @@
# 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, or (at your option)
+# the Free Software Foundation; either version 3, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
diff --git a/tests/unexpand/basic-1 b/tests/unexpand/basic-1
index 3824d7c8b..b7cca42b6 100755
--- a/tests/unexpand/basic-1
+++ b/tests/unexpand/basic-1
@@ -6,7 +6,7 @@
# 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
+# 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,
diff --git a/tests/uniq/Test.pm b/tests/uniq/Test.pm
index ddc67ac6a..c9489a1b3 100644
--- a/tests/uniq/Test.pm
+++ b/tests/uniq/Test.pm
@@ -4,7 +4,7 @@
# 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
+# 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,
diff --git a/tests/wc/Test.pm b/tests/wc/Test.pm
index 3adbbba5f..6485bb3ad 100755
--- a/tests/wc/Test.pm
+++ b/tests/wc/Test.pm
@@ -4,7 +4,7 @@
# 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
+# 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,