Merge branch 'fix-unindent' into maint
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 21 Mar 2011 21:14:25 +0000 (22:14 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 21 Mar 2011 21:14:25 +0000 (22:14 +0100)
* fix-unindent:
  tests: fix unindent to use printf not echo for script.

1  2 
ChangeLog

diff --cc ChangeLog
+++ b/ChangeLog
@@@ -1,61 -1,10 +1,68 @@@
+ 2011-03-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+       tests: fix unindent to use printf not echo for script.
+       * tests/defs.in: Use printf rather than echo, as the latter may
+       interpret the backslashes in the sed script.  Fixes test
+       failures with dash as /bin/sh.
 +2011-03-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +          Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 +
 +      maintcheck: look for problematic names of testcases
 +      The configure.in stub created by default by `tests/defs' obtains
 +      the first argument of AC_INIT from the test name, and this can
 +      cause some supported autoconf versions to fail with a spurious
 +      error if that test name contains the name of an m4 or m4sugar
 +      builtin or macro (e.g., `defn' or `m4_undefine').
 +      See for example the bug fixed by commit v1.11-287-g1325a8a.
 +      This change add a maintainer check that warns about test names
 +      which are possibly problematic in this regard.
 +      * Makefile.am (sc_test_names): New maintainer-check target.
 +      (syntax_check_rules): Add it.
 +      (m4_builtins): New helper variable.
 +      (TESTS): Updated according to the following renamings.
 +      * tests/include.test: Renamed ...
 +      * tests/hdr-vars-defined-once.test: ... to this.
 +      * tests/sinclude.test: Renamed ...
 +      * tests/m4-inclusion.test: ... to this, and simplified
 +      accordingly.
 +      * tests/include2.test: Renamed ...
 +      * tests/dist-included-parent-dir.test: ... to this, for
 +      consistency.
 +
 +2011-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests: fix bug in alloca*.test
 +      * tests/alloca.test: Make grepping of automake stderr stricter,
 +      add a trailing `:' command; also, add AC_PROG_CC to configure.in,
 +      and create a dummy alloca.c file, to ensure that we fail for the
 +      proper reason.
 +      * tests/alloca2.test: Likewise.  Also, look for LT_INIT, not
 +      AC_PROG_LIBTOOL, in the error message (bug introduced with commit
 +      v1.11-315-gd51e7b7 "libtool: suggest LT_INIT if LTLIBRARIES
 +      primary is used").
 +      From a report by Patrick Welche.
 +
 +2011-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests: fix bug (comments-in-var-defn.test + autoconf 2.62)
 +      * tests/comments-in-var-defn.test: The configure.in stub created
 +      by default, which has the AC_INIT first argument obtained by the
 +      test name, causes autoconf 2.62 to fail with a spurious error
 +      message like: "configure.in:1: error: defn: undefined macro:".
 +      Thus, to prevent this, the test is renamed to ...
 +      * tests/comments-in-var-def.test: ... this.
 +      * tests/Makefile.am (TESTS): Updated.
 +
 +2011-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      cosmetics: convert encoding from ISO-8859 to UTF-8
 +      * ChangeLog.03: Convert encoding to UTF-8.
 +      * ChangeLog.96: Likewise.
 +      * ChangeLog.98: Likewise.
 +      * NEWS: Likewise.
 +      * TODO: Likewise.
 +
  2011-03-01  Peter Rosin  <peda@lysator.liu.se>
  
        test defs: unindent without temporary file