libidn-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU libidn branch, master, updated. libidn-1-22-27-g673311b


From: Simon Josefsson
Subject: [SCM] GNU libidn branch, master, updated. libidn-1-22-27-g673311b
Date: Fri, 25 Nov 2011 08:49:04 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU libidn".

http://git.savannah.gnu.org/cgit/libidn.git/commit/?id=673311b34f764460b46e2eff8bc0e025c9369499

The branch, master has been updated
       via  673311b34f764460b46e2eff8bc0e025c9369499 (commit)
      from  19ec674c4519b618857b7c10ded0839011051e2e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 673311b34f764460b46e2eff8bc0e025c9369499
Author: Simon Josefsson <address@hidden>
Date:   Fri Nov 25 09:48:57 2011 +0100

    Drop update-copyright-tests module due to bugs.

-----------------------------------------------------------------------

Summary of changes:
 gl/Makefile.am                   |    2 +-
 gl/m4/gnulib-cache.m4            |    4 +-
 gl/m4/gnulib-comp.m4             |    4 -
 gltests/Makefile.am              |    8 -
 gltests/test-update-copyright.sh |  534 --------------------------------------
 5 files changed, 3 insertions(+), 549 deletions(-)
 delete mode 100755 gltests/test-update-copyright.sh

diff --git a/gl/Makefile.am b/gl/Makefile.am
index d660153..a7b849a 100644
--- a/gl/Makefile.am
+++ b/gl/Makefile.am
@@ -21,7 +21,7 @@
 # the same distribution terms as the rest of that program.
 #
 # Generated by gnulib-tool.
-# Reproduce by: gnulib-tool --import --dir=. --local-dir=gl/override 
--lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc 
--tests-base=gltests --aux-dir=build-aux --with-tests --avoid=fcntl-h-tests 
--avoid=stdlib-tests --avoid=string-tests --avoid=sys_stat-tests 
--avoid=time-tests --avoid=unistd-tests --avoid=wchar-tests 
--no-conditional-dependencies --libtool --macro-prefix=gl --no-vc-files 
autobuild csharpcomp-script csharpexec-script error fdl-1.3 gendocs getopt-gnu 
gnupload gpl-3.0 lgpl-2.1 maintainer-makefile manywarnings pmccabe2html 
progname update-copyright useless-if-before-free valgrind-tests vc-list-files 
version-etc warnings
+# Reproduce by: gnulib-tool --import --dir=. --local-dir=gl/override 
--lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc 
--tests-base=gltests --aux-dir=build-aux --with-tests --avoid=fcntl-h-tests 
--avoid=stdlib-tests --avoid=string-tests --avoid=sys_stat-tests 
--avoid=time-tests --avoid=unistd-tests --avoid=update-copyright-tests 
--avoid=wchar-tests --no-conditional-dependencies --libtool --macro-prefix=gl 
--no-vc-files autobuild csharpcomp-script csharpexec-script error fdl-1.3 
gendocs getopt-gnu gnupload gpl-3.0 lgpl-2.1 maintainer-makefile manywarnings 
pmccabe2html progname update-copyright useless-if-before-free valgrind-tests 
vc-list-files version-etc warnings
 
 AUTOMAKE_OPTIONS = 1.5 gnits
 
diff --git a/gl/m4/gnulib-cache.m4 b/gl/m4/gnulib-cache.m4
index fe62a59..df4f7c4 100644
--- a/gl/m4/gnulib-cache.m4
+++ b/gl/m4/gnulib-cache.m4
@@ -27,7 +27,7 @@
 
 
 # Specification in the form of a command-line invocation:
-#   gnulib-tool --import --dir=. --local-dir=gl/override --lib=libgnu 
--source-base=gl --m4-base=gl/m4 --doc-base=doc --tests-base=gltests 
--aux-dir=build-aux --with-tests --avoid=fcntl-h-tests --avoid=stdlib-tests 
--avoid=string-tests --avoid=sys_stat-tests --avoid=time-tests 
--avoid=unistd-tests --avoid=wchar-tests --no-conditional-dependencies 
--libtool --macro-prefix=gl --no-vc-files autobuild csharpcomp-script 
csharpexec-script error fdl-1.3 gendocs getopt-gnu gnupload gpl-3.0 lgpl-2.1 
maintainer-makefile manywarnings pmccabe2html progname update-copyright 
useless-if-before-free valgrind-tests vc-list-files version-etc warnings
+#   gnulib-tool --import --dir=. --local-dir=gl/override --lib=libgnu 
--source-base=gl --m4-base=gl/m4 --doc-base=doc --tests-base=gltests 
--aux-dir=build-aux --with-tests --avoid=fcntl-h-tests --avoid=stdlib-tests 
--avoid=string-tests --avoid=sys_stat-tests --avoid=time-tests 
--avoid=unistd-tests --avoid=update-copyright-tests --avoid=wchar-tests 
--no-conditional-dependencies --libtool --macro-prefix=gl --no-vc-files 
autobuild csharpcomp-script csharpexec-script error fdl-1.3 gendocs getopt-gnu 
gnupload gpl-3.0 lgpl-2.1 maintainer-makefile manywarnings pmccabe2html 
progname update-copyright useless-if-before-free valgrind-tests vc-list-files 
version-etc warnings
 
 # Specification in the form of a few gnulib-tool.m4 macro invocations:
 gl_LOCAL_DIR([gl/override])
@@ -53,7 +53,7 @@ gl_MODULES([
   version-etc
   warnings
 ])
-gl_AVOID([fcntl-h-tests stdlib-tests string-tests sys_stat-tests time-tests 
unistd-tests wchar-tests])
+gl_AVOID([fcntl-h-tests stdlib-tests string-tests sys_stat-tests time-tests 
unistd-tests update-copyright-tests wchar-tests])
 gl_SOURCE_BASE([gl])
 gl_M4_BASE([gl/m4])
 gl_PO_BASE([])
diff --git a/gl/m4/gnulib-comp.m4 b/gl/m4/gnulib-comp.m4
index e5040aa..b649889 100644
--- a/gl/m4/gnulib-comp.m4
+++ b/gl/m4/gnulib-comp.m4
@@ -145,7 +145,6 @@ AC_DEFUN([gl_EARLY],
   # Code from module unsetenv:
   # Code from module unsetenv-tests:
   # Code from module update-copyright:
-  # Code from module update-copyright-tests:
   # Code from module useless-if-before-free:
   # Code from module valgrind-tests:
   # Code from module vc-list-files:
@@ -381,8 +380,6 @@ if test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1; 
then
   gl_PREREQ_UNSETENV
 fi
 gl_STDLIB_MODULE_INDICATOR([unsetenv])
-abs_aux_dir=`cd "$ac_aux_dir"; pwd`
-AC_SUBST([abs_aux_dir])
 gl_VALGRIND_TESTS
 abs_aux_dir=`cd "$ac_aux_dir"; pwd`
 AC_SUBST([abs_aux_dir])
@@ -621,7 +618,6 @@ AC_DEFUN([gl_FILE_LIST], [
   tests/test-symlink.c
   tests/test-symlink.h
   tests/test-unsetenv.c
-  tests/test-update-copyright.sh
   tests/test-vc-list-files-cvs.sh
   tests/test-vc-list-files-git.sh
   tests/test-verify.c
diff --git a/gltests/Makefile.am b/gltests/Makefile.am
index 18fcb7c..e65e9e9 100644
--- a/gltests/Makefile.am
+++ b/gltests/Makefile.am
@@ -1056,14 +1056,6 @@ EXTRA_DIST += test-unsetenv.c signature.h macros.h
 
 ## end   gnulib module unsetenv-tests
 
-## begin gnulib module update-copyright-tests
-
-TESTS += test-update-copyright.sh
-TESTS_ENVIRONMENT += abs_aux_dir='$(abs_aux_dir)'
-EXTRA_DIST += test-update-copyright.sh
-
-## end   gnulib module update-copyright-tests
-
 ## begin gnulib module vc-list-files-tests
 
 TESTS += test-vc-list-files-git.sh
diff --git a/gltests/test-update-copyright.sh b/gltests/test-update-copyright.sh
deleted file mode 100755
index a1fce0b..0000000
--- a/gltests/test-update-copyright.sh
+++ /dev/null
@@ -1,534 +0,0 @@
-#!/bin/sh
-# Test suite for update-copyright.
-# Copyright (C) 2009-2011 Free Software Foundation, Inc.
-# This file is part of the GNUlib Library.
-#
-# This program is free software: you can 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/>.
-
-diffout=`diff -u /dev/null /dev/null 2>&1`
-if test x"$diffout" = x"" && test $? -eq 0; then
-  compare() { diff -u "$@"; }
-else
-  compare() { cmp "$@"; }
-fi
-
-# Ensure the update-copyright program gets found.
-PATH=$abs_aux_dir:$PATH
-export PATH
-
-TMP_BASE=update-copyright.test
-trap 'rm -f $TMP_BASE*' 0 1 2 3 15
-
-## --------------------------------- ##
-## Skip if user does not have perl.  ##
-## --------------------------------- ##
-
-TMP=$TMP_BASE
-s=$TMP-script
-cat <<\EOF > $s
-eval '(exit $?0)' && eval 'exec perl -wS -0777 -pi "$0" ${1+"$@"}'
-  & eval 'exec perl -wS -0777 -pi "$0" $argv:q'
-    if 0;
-s/a/b/
-EOF
-chmod a+x $s
-echo a > $TMP-in
-./$s $TMP-in 2>/dev/null && test b = "`cat $TMP-in 2>/dev/null`" ||
-  {
-    printf '%s\n' "$0: skipping this test;" \
-      'your system has insufficient support for Perl' 1>&2
-    exit 77
-  }
-
-# Skip this test if Perl is too old.  FIXME: 5.8.0 is just a guess.
-# We have a report that 5.6.1 is inadequate and that 5.8.0 works.
-perl -e 'require 5.8.0' || {
-  echo '$0: skipping this test; Perl version is too old' 1>&2
-  exit 77
-}
-
-# Do not let a different envvar setting perturb results.
-UPDATE_COPYRIGHT_MAX_LINE_LENGTH=72
-export UPDATE_COPYRIGHT_MAX_LINE_LENGTH
-
-## ----------------------------- ##
-## Examples from documentation.  ##
-## ----------------------------- ##
-
-TMP=$TMP_BASE-ex
-cat > $TMP.1 <<EOF
-Copyright @copyright{} 1990-2005, 2007-2009 Free Software
-Foundation, Inc.
-EOF
-cat > $TMP.2 <<EOF
-# Copyright (C) 1990-2005, 2007-2009 Free Software
-# Foundation, Inc.
-EOF
-cat > $TMP.3 <<EOF
-/*
- * Copyright &copy; 90,2005,2007-2009
- * Free Software Foundation, Inc.
- */
-EOF
-cat > $TMP.4 <<EOF
-## Copyright (C) 1990-2005, 2007-2009 Free Software
-#  Foundation, Inc.
-EOF
-cat > $TMP.5 <<EOF
-Copyright (C) 1990-2005, 2007-2009 Acme, Inc.
-EOF
-cat > $TMP.6 <<EOF
-## Copyright (C) 1990-2005, 2007-2009 Free Software
-#  Foundation, Inc.
-
-Copyright (C) 1990-2005, 2007-2009 Free Software Foundation,
-Inc.
-EOF
-cat > $TMP.7 <<EOF
-Copyright (C) 1990-2005, 2007-2009 Acme, Inc.
-
-# Copyright (C) 1990-2005, 2007-2009 Free Software
-# Foundation, Inc.
-EOF
-
-UPDATE_COPYRIGHT_YEAR=2009 \
-  update-copyright $TMP.* 1> $TMP-stdout 2> $TMP-stderr
-compare /dev/null $TMP-stdout || exit 1
-compare - $TMP-stderr <<EOF || exit 1
-$TMP.4: warning: copyright statement not found
-$TMP.5: warning: copyright statement not found
-EOF
-compare - $TMP.1 <<EOF || exit 1
-Copyright @copyright{} 1990-2005, 2007-2009 Free Software
-Foundation, Inc.
-EOF
-compare - $TMP.2 <<EOF || exit 1
-# Copyright (C) 1990-2005, 2007-2009 Free Software
-# Foundation, Inc.
-EOF
-compare - $TMP.3 <<EOF || exit 1
-/*
- * Copyright &copy; 90,2005,2007-2009
- * Free Software Foundation, Inc.
- */
-EOF
-compare - $TMP.4 <<EOF || exit 1
-## Copyright (C) 1990-2005, 2007-2009 Free Software
-#  Foundation, Inc.
-EOF
-compare - $TMP.5 <<EOF || exit 1
-Copyright (C) 1990-2005, 2007-2009 Acme, Inc.
-EOF
-compare - $TMP.6 <<EOF || exit 1
-## Copyright (C) 1990-2005, 2007-2009 Free Software
-#  Foundation, Inc.
-
-Copyright (C) 1990-2005, 2007-2009 Free Software Foundation,
-Inc.
-EOF
-compare - $TMP.7 <<EOF || exit 1
-Copyright (C) 1990-2005, 2007-2009 Acme, Inc.
-
-# Copyright (C) 1990-2005, 2007-2009 Free Software
-# Foundation, Inc.
-EOF
-
-UPDATE_COPYRIGHT_YEAR=2010 UPDATE_COPYRIGHT_USE_INTERVALS=1 \
-  update-copyright $TMP.* 1> $TMP-stdout 2> $TMP-stderr
-compare /dev/null $TMP-stdout || exit 1
-compare - $TMP-stderr <<EOF || exit 1
-$TMP.4: warning: copyright statement not found
-$TMP.5: warning: copyright statement not found
-EOF
-compare - $TMP.1 <<EOF || exit 1
-Copyright @copyright{} 1990-2005, 2007-2010 Free Software Foundation,
-Inc.
-EOF
-compare - $TMP.2 <<EOF || exit 1
-# Copyright (C) 1990-2005, 2007-2010 Free Software Foundation, Inc.
-EOF
-compare - $TMP.3 <<EOF || exit 1
-/*
- * Copyright &copy; 1990, 2005, 2007-2010 Free Software Foundation, Inc.
- */
-EOF
-compare - $TMP.4 <<EOF || exit 1
-## Copyright (C) 1990-2005, 2007-2009 Free Software
-#  Foundation, Inc.
-EOF
-compare - $TMP.5 <<EOF || exit 1
-Copyright (C) 1990-2005, 2007-2009 Acme, Inc.
-EOF
-compare - $TMP.6 <<EOF || exit 1
-## Copyright (C) 1990-2005, 2007-2009 Free Software
-#  Foundation, Inc.
-
-Copyright (C) 1990-2005, 2007-2010 Free Software Foundation, Inc.
-EOF
-compare - $TMP.7 <<EOF || exit 1
-Copyright (C) 1990-2005, 2007-2009 Acme, Inc.
-
-# Copyright (C) 1990-2005, 2007-2010 Free Software Foundation, Inc.
-EOF
-
-UPDATE_COPYRIGHT_YEAR=2010 UPDATE_COPYRIGHT_FORCE=1 \
-  update-copyright $TMP.* 1> $TMP-stdout 2> $TMP-stderr
-compare /dev/null $TMP-stdout || exit 1
-compare - $TMP-stderr <<EOF || exit 1
-$TMP.4: warning: copyright statement not found
-$TMP.5: warning: copyright statement not found
-EOF
-compare - $TMP.1 <<EOF || exit 1
-Copyright @copyright{} 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
-1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010
-Free Software Foundation, Inc.
-EOF
-compare - $TMP.2 <<EOF || exit 1
-# Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
-# 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010 Free
-# Software Foundation, Inc.
-EOF
-compare - $TMP.3 <<EOF || exit 1
-/*
- * Copyright &copy; 1990, 2005, 2007, 2008, 2009, 2010 Free Software
- * Foundation, Inc.
- */
-EOF
-compare - $TMP.4 <<EOF || exit 1
-## Copyright (C) 1990-2005, 2007-2009 Free Software
-#  Foundation, Inc.
-EOF
-compare - $TMP.5 <<EOF || exit 1
-Copyright (C) 1990-2005, 2007-2009 Acme, Inc.
-EOF
-compare - $TMP.6 <<EOF || exit 1
-## Copyright (C) 1990-2005, 2007-2009 Free Software
-#  Foundation, Inc.
-
-Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
-1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010 Free
-Software Foundation, Inc.
-EOF
-compare - $TMP.7 <<EOF || exit 1
-Copyright (C) 1990-2005, 2007-2009 Acme, Inc.
-
-# Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
-# 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010 Free
-# Software Foundation, Inc.
-EOF
-
-rm $TMP*
-
-## -------------- ##
-## Current year.  ##
-## -------------- ##
-
-TMP=$TMP_BASE-current-year
-YEAR=`date +%Y`
-cat > $TMP <<EOF
-'\" Copyright (C) 2006
-'\" Free Software Foundation,
-'\" Inc.
-EOF
-update-copyright $TMP 1> $TMP-stdout 2> $TMP-stderr
-compare /dev/null $TMP-stdout || exit 1
-compare /dev/null $TMP-stderr || exit 1
-compare - $TMP <<EOF || exit 1
-'\" Copyright (C) 2006, $YEAR Free Software Foundation, Inc.
-EOF
-UPDATE_COPYRIGHT_USE_INTERVALS=1 \
-  update-copyright $TMP 1> $TMP-stdout 2> $TMP-stderr
-compare /dev/null $TMP-stdout || exit 1
-compare /dev/null $TMP-stderr || exit 1
-compare - $TMP <<EOF || exit 1
-'\" Copyright (C) 2006, $YEAR Free Software Foundation, Inc.
-EOF
-rm $TMP*
-
-## ------------------ ##
-## Surrounding text.  ##
-## ------------------ ##
-
-TMP=$TMP_BASE-surrounding-text
-cat > $TMP <<EOF
-    Undisturbed text.
-dnl Undisturbed text.
-dnl Copyright (C) 89
-dnl Free Software Foundation, Inc.
-dnl   Undisturbed text.
-EOF
-UPDATE_COPYRIGHT_YEAR=2010 \
-  update-copyright $TMP 1> $TMP-stdout 2> $TMP-stderr
-compare /dev/null $TMP-stdout || exit 1
-compare /dev/null $TMP-stderr || exit 1
-compare - $TMP <<EOF || exit 1
-    Undisturbed text.
-dnl Undisturbed text.
-dnl Copyright (C) 1989, 2010 Free Software Foundation, Inc.
-dnl   Undisturbed text.
-EOF
-rm $TMP*
-
-## --------------- ##
-## Widest prefix.  ##
-## --------------- ##
-
-TMP=$TMP_BASE-widest-prefix
-cat > $TMP <<EOF
-#### Copyright (C) 1976, 1977, 1978, 1979, 1980, 1981, 1982, 1983, 1984, 1985,
-#### 1986, 1987, 1988, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
-#### 2008 Free Software Foundation, Inc.
-EOF
-UPDATE_COPYRIGHT_YEAR=2010 \
-  update-copyright $TMP 1> $TMP-stdout 2> $TMP-stderr
-compare /dev/null $TMP-stdout || exit 1
-compare /dev/null $TMP-stderr || exit 1
-compare - $TMP <<EOF || exit 1
-#### Copyright (C) 1976, 1977, 1978, 1979, 1980, 1981, 1982, 1983, 1984,
-#### 1985, 1986, 1987, 1988, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
-#### 2006, 2007, 2008, 2010 Free Software Foundation, Inc.
-EOF
-UPDATE_COPYRIGHT_YEAR=2011 UPDATE_COPYRIGHT_USE_INTERVALS=1 \
-  update-copyright $TMP 1> $TMP-stdout 2> $TMP-stderr
-compare /dev/null $TMP-stdout || exit 1
-compare /dev/null $TMP-stderr || exit 1
-compare - $TMP <<EOF || exit 1
-#### Copyright (C) 1976-1988, 1999-2008, 2010-2011 Free Software
-#### Foundation, Inc.
-EOF
-rm $TMP*
-
-## ------------------- ##
-## Prefix too large.  ##
-## ------------------- ##
-
-TMP=$TMP_BASE-prefix-too-large
-cat > $TMP <<EOF
-####  Copyright (C) 1976, 1977, 1978, 1979, 1980, 1981, 1982, 1983, 1984, 1985,
-####  1986, 1987, 1988, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
-####  2008 Free Software Foundation, Inc.
-EOF
-UPDATE_COPYRIGHT_YEAR=2010 \
-  update-copyright $TMP 1> $TMP-stdout 2> $TMP-stderr
-compare /dev/null $TMP-stdout || exit 1
-compare - $TMP-stderr <<EOF || exit 1
-$TMP: warning: copyright statement not found
-EOF
-compare - $TMP <<EOF || exit 1
-####  Copyright (C) 1976, 1977, 1978, 1979, 1980, 1981, 1982, 1983, 1984, 1985,
-####  1986, 1987, 1988, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
-####  2008 Free Software Foundation, Inc.
-EOF
-rm $TMP*
-
-## ------------- ##
-## Blank lines.  ##
-## ------------- ##
-
-TMP=$TMP_BASE-blank-lines
-cat > $TMP <<EOF
-#Copyright (C) 1976, 1977, 1978, 1979, 1980, 1981, 1982, 1983, 1984, 1985,
-#
-#1986, 1987, 1988, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
-#2008 Free Software Foundation, Inc.
-
-Copyright (C) 1976, 1977, 1978, 1979, 1980, 1981, 1982, 1983, 1984, 1985,
-
-1986, 1987, 1988, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
-2008 Free Software Foundation, Inc.
-EOF
-UPDATE_COPYRIGHT_YEAR=2010 \
-  update-copyright $TMP 1> $TMP-stdout 2> $TMP-stderr
-compare /dev/null $TMP-stdout || exit 1
-compare - $TMP-stderr <<EOF || exit 1
-$TMP: warning: copyright statement not found
-EOF
-compare - $TMP <<EOF || exit 1
-#Copyright (C) 1976, 1977, 1978, 1979, 1980, 1981, 1982, 1983, 1984, 1985,
-#
-#1986, 1987, 1988, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
-#2008 Free Software Foundation, Inc.
-
-Copyright (C) 1976, 1977, 1978, 1979, 1980, 1981, 1982, 1983, 1984, 1985,
-
-1986, 1987, 1988, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
-2008 Free Software Foundation, Inc.
-EOF
-rm $TMP*
-
-## -------------- ##
-## Leading tabs.  ##
-## -------------- ##
-
-TMP=$TMP_BASE-leading-tabs
-cat > $TMP <<EOF
-       Copyright (C) 87, 88, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 98,
-        1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free
-       Software Foundation, Inc.
-EOF
-UPDATE_COPYRIGHT_YEAR=2010 \
-  update-copyright $TMP 1> $TMP-stdout 2> $TMP-stderr
-compare /dev/null $TMP-stdout || exit 1
-compare /dev/null $TMP-stderr || exit 1
-compare - $TMP <<EOF || exit 1
-       Copyright (C) 1987, 1988, 1991, 1992, 1993, 1994, 1995, 1996,
-       1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
-       2007, 2008, 2009, 2010 Free Software Foundation, Inc.
-EOF
-UPDATE_COPYRIGHT_YEAR=2011 UPDATE_COPYRIGHT_USE_INTERVALS=1 \
-  update-copyright $TMP 1> $TMP-stdout 2> $TMP-stderr
-compare /dev/null $TMP-stdout || exit 1
-compare /dev/null $TMP-stderr || exit 1
-compare - $TMP <<EOF || exit 1
-       Copyright (C) 1987-1988, 1991-2011 Free Software Foundation,
-       Inc.
-EOF
-rm $TMP*
-
-## -------------------- ##
-## Unusual whitespace.  ##
-## -------------------- ##
-
-TMP=$TMP_BASE-unusual-ws
-cat > $TMP <<EOF
-               # Copyright (C) 87-88, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
-               # 98, 1999, 2000, 2001, 2002, 2003,                      2004, 
2005, 2006, 2007, 2008,
-               # 2009 Free Software Foundation, Inc.
-EOF
-UPDATE_COPYRIGHT_YEAR=2010 \
-  update-copyright $TMP 1> $TMP-stdout 2> $TMP-stderr
-compare /dev/null $TMP-stdout || exit 1
-compare /dev/null $TMP-stderr || exit 1
-compare - $TMP <<EOF || exit 1
-               # Copyright (C) 1987, 1988, 1991, 1992, 1993, 1994,
-               # 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
-               # 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
-               # Foundation, Inc.
-EOF
-UPDATE_COPYRIGHT_YEAR=2011 UPDATE_COPYRIGHT_USE_INTERVALS=1 \
-  update-copyright $TMP 1> $TMP-stdout 2> $TMP-stderr
-compare /dev/null $TMP-stdout || exit 1
-compare /dev/null $TMP-stderr || exit 1
-compare - $TMP <<EOF || exit 1
-               # Copyright (C) 1987-1988, 1991-2011 Free Software
-               # Foundation, Inc.
-EOF
-rm $TMP*
-
-## --------- ##
-## DOS EOL.  ##
-## --------- ##
-
-TMP=$TMP_BASE-dos-eol
-tr @ '\015' > $TMP <<\EOF
-Rem Copyright (C) 87, 88, 1991, 1992, 1993, 1994, 1995, 1996, 1997,@
-Rem 98, 1999, 2000, 2001, 2002, 2003,  2004, 2005, 2006, 2007, 2008,@
-Rem 2009 Free Software Foundation, Inc.@
-EOF
-UPDATE_COPYRIGHT_YEAR=2010 \
-  update-copyright $TMP 1> $TMP-stdout 2> $TMP-stderr
-compare /dev/null $TMP-stdout || exit 1
-compare /dev/null $TMP-stderr || exit 1
-tr @ '\015' > $TMP-exp <<\EOF
-Rem Copyright (C) 1987, 1988, 1991, 1992, 1993, 1994, 1995, 1996, 1997,@
-Rem 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,@
-Rem 2009, 2010 Free Software Foundation, Inc.@
-EOF
-compare $TMP-exp $TMP || exit 1
-rm $TMP*
-
-## --------------- ##
-## Omitted "(C)".  ##
-## --------------- ##
-
-TMP=$TMP_BASE-omitted-circle-c
-cat > $TMP <<EOF
-  Copyright 87, 88, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
-  98, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
-  2009 Free Software Foundation, Inc.
-EOF
-UPDATE_COPYRIGHT_YEAR=2010 \
-  update-copyright $TMP 1> $TMP-stdout 2> $TMP-stderr
-compare /dev/null $TMP-stdout || exit 1
-compare /dev/null $TMP-stderr || exit 1
-compare - $TMP <<EOF || exit 1
-  Copyright 1987, 1988, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
-  1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
-  Free Software Foundation, Inc.
-EOF
-rm $TMP*
-
-## ------------------ ##
-## C-style comments.  ##
-## ------------------ ##
-
-TMP=$TMP_BASE-c-style-comments
-cat > $TMP.star <<EOF
-/*  Copyright 87, 88, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
- *  98, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
- *  2009 Free Software Foundation, Inc.  */
-EOF
-cat > $TMP.space <<EOF
-  /*Copyright 87, 88, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
-    98, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
-    2009 Free Software Foundation, Inc.  */
-EOF
-cat > $TMP.single-line <<EOF
-/*   Copyright 87, 1991, 1992 Free Software Foundation, Inc.  */
-EOF
-cat > $TMP.single-line-wrapped <<EOF
- /* Copyright 1988, 1991, 1992, 1993 Free Software Foundation, Inc.  */
-EOF
-cat > $TMP.extra-text-star <<EOF
- /* Copyright 1987, 1988, 1991, 1992 Free Software Foundation, Inc.  End
-  * More comments.  */
-EOF
-cat > $TMP.extra-text-space <<EOF
- /* Copyright 1987, 1988, 1991, 1992 Free Software Foundation, Inc. ***
-    * End of comments. */
-EOF
-UPDATE_COPYRIGHT_YEAR=2010 \
-  update-copyright $TMP.* 1> $TMP-stdout 2> $TMP-stderr
-compare /dev/null $TMP-stdout || exit 1
-compare /dev/null $TMP-stderr || exit 1
-compare - $TMP.star <<EOF || exit 1
-/*  Copyright 1987, 1988, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
- *  1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
- *  2009, 2010 Free Software Foundation, Inc.  */
-EOF
-compare - $TMP.space <<EOF || exit 1
-  /*Copyright 1987, 1988, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
-    1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
-    2009, 2010 Free Software Foundation, Inc.  */
-EOF
-compare - $TMP.single-line <<EOF || exit 1
-/*   Copyright 1987, 1991, 1992, 2010 Free Software Foundation, Inc.  */
-EOF
-compare - $TMP.single-line-wrapped <<EOF || exit 1
- /* Copyright 1988, 1991, 1992, 1993, 2010 Free Software Foundation,
-  * Inc.  */
-EOF
-compare - $TMP.extra-text-star <<EOF || exit 1
- /* Copyright 1987, 1988, 1991, 1992, 2010 Free Software Foundation,
-  * Inc.  End
-  * More comments.  */
-EOF
-compare - $TMP.extra-text-space <<EOF || exit 1
- /* Copyright 1987, 1988, 1991, 1992, 2010 Free Software Foundation,
-    Inc. ***
-    * End of comments. */
-EOF
-rm $TMP*
-
-exit 0


hooks/post-receive
-- 
GNU libidn



reply via email to

[Prev in Thread] Current Thread [Next in Thread]