Add copyright headers to some files which lack them.

* find/testsuite/excuses.txt: remove spurious character (a typo).
* find/testsuite/test_escape_c.sh: Add copyright header.
* find/testsuite/binary_locations.sh: Likewise.
* find/testsuite/checklists.py: Likewise.
* find/testsuite/Makefile.am: Likewise.
* find/testsuite/sv-bug-32043.sh: Likewise.
* find/testsuite/test_escapechars.sh: Likewise.
* find/testsuite/test_inode.sh: Likewise.
* xargs/testsuite/Makefile.am: Likewise.
* locate/testsuite/Makefile.am: Likewise.
* build-aux/Makefile.am: Likewise.
* doc/Makefile.am: Likewise.
* find/print.h: Likewise.
* lib/check-regexprops.sh: Likewise.
This commit is contained in:
James Youngman 2015-11-01 14:27:49 +00:00
parent ec20fbc585
commit 771ace2582
15 changed files with 226 additions and 2 deletions

View File

@ -1 +1,16 @@
# Copyright (C) 2007,2015 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
EXTRA_DIST = check-testfiles.sh man-lint.sh EXTRA_DIST = check-testfiles.sh man-lint.sh

View File

@ -1,4 +1,18 @@
#! /bin/sh #! /bin/sh
# Copyright (C) 2007-2015 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
rv=0 rv=0
srcdir="$1" ; shift srcdir="$1" ; shift

View File

@ -1,3 +1,17 @@
# Copyright (C) 1996,1999,2000,2001,2003-2015 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
AM_CFLAGS = $(WARN_CFLAGS) AM_CFLAGS = $(WARN_CFLAGS)
info_TEXINFOS = find.texi find-maint.texi info_TEXINFOS = find.texi find-maint.texi

View File

@ -1,3 +1,19 @@
/* print.h -- declarations for symbols in print.c.
Copyright (C) 2011-2015 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "defs.h" #include "defs.h"
struct format_val; struct format_val;

View File

@ -1,3 +1,23 @@
# Copyright (C) 2001,2003-2015 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# The 2001 copyright line above was added in 2015 based on James
# Youngman's best estimate of the original publication date of this
# file (it appeared in findutils release 4.1.7 but may have appeared
# in earlier releases which I don't have copies of).
AUTOMAKE_OPTIONS = dejagnu parallel-tests AUTOMAKE_OPTIONS = dejagnu parallel-tests
FIND = ../find FIND = ../find
FINDFLAGS = FINDFLAGS =

View File

@ -1,4 +1,20 @@
# Source this file, don't execute it. # Source this file, don't execute it.
#
# Copyright (C) 2011-2015 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
if [ -z "${testname}" ]; then if [ -z "${testname}" ]; then
echo 'Please set $testname before sourcing binary_locations.sh.' >&2 echo 'Please set $testname before sourcing binary_locations.sh.' >&2

View File

@ -1,3 +1,18 @@
# Copyright (C) 2014, 2015 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
"""Check that the list of test files in Makefile.am is complete and not redundant. """Check that the list of test files in Makefile.am is complete and not redundant.
Usage: Usage:

View File

@ -1,4 +1,3 @@
g
## things that are hard to test because they are time-dependent. ## things that are hard to test because they are time-dependent.
"amin", amin), /* GNU */ "amin", amin), /* GNU */
"anewer", anewer), /* GNU */ "anewer", anewer), /* GNU */

View File

@ -1,4 +1,19 @@
#! /bin/sh #! /bin/sh
# Copyright (C) 2011-2015 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
testname="$(basename $0)" testname="$(basename $0)"
parent="$(cd .. && pwd)" parent="$(cd .. && pwd)"

View File

@ -1,4 +1,20 @@
#! /bin/sh #! /bin/sh
# Copyright (C) 2011-2015 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
testname="$(basename $0)" testname="$(basename $0)"
. "${srcdir}"/binary_locations.sh . "${srcdir}"/binary_locations.sh

View File

@ -1,4 +1,19 @@
#! /bin/sh #! /bin/sh
# Copyright (C) 2011-2015 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
testname="$(basename $0)" testname="$(basename $0)"
. "${srcdir}"/binary_locations.sh . "${srcdir}"/binary_locations.sh

View File

@ -1,4 +1,18 @@
#! /bin/sh #! /bin/sh
# Copyright (C) 2011-2015 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
# Essentially this test verifies that ls -i and find -printf %i produce # Essentially this test verifies that ls -i and find -printf %i produce
# the same output. # the same output.

View File

@ -1,7 +1,20 @@
#! /bin/sh #! /bin/sh
#
# Generate regexprops.texi and compare it against the checked-in version. # Generate regexprops.texi and compare it against the checked-in version.
# #
# Copyright (C) 2009-2015 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
existing=${srcdir}/../doc/regexprops.texi existing=${srcdir}/../doc/regexprops.texi
case ${REGEXPROPS} in case ${REGEXPROPS} in

View File

@ -1,3 +1,23 @@
# Copyright (C) 2001,2003-2015 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# The 2001 copyright line above was added in 2015 based on James
# Youngman's best estimate of the original publication date of this
# file (it appeared in findutils release 4.1.7 but may have appeared
# in earlier releases which I don't have copies of).
AUTOMAKE_OPTIONS=dejagnu AUTOMAKE_OPTIONS=dejagnu
LOCATE = ../locate LOCATE = ../locate
UPDATEDB = ../updatedb UPDATEDB = ../updatedb

View File

@ -1,3 +1,25 @@
# Copyright (C) 2001, 2002, 2003-2015 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# The 2001 copyright line above was added in 2015 based on James
# Youngman's best estimate of the original publication date of this
# file (it appeared in findutils release 4.1.7 but may have appeared
# in earlier releases which I don't have copies of).
# Essentially this test verifies that ls -i and find -printf %i produce
# the same output.
AUTOMAKE_OPTIONS=dejagnu AUTOMAKE_OPTIONS=dejagnu
XARGS = ../xargs XARGS = ../xargs
XARGSFLAGS = XARGSFLAGS =