]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Slighty improve tests acoutbs.test and acoutbs2.test.
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 17 Jan 2010 13:20:15 +0000 (14:20 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 17 Jan 2010 13:20:15 +0000 (14:20 +0100)
* tests/acoutbs2.test: Enable `errexit' shell flag.  Check that
autoconf and configure work, that the file `zot' is created by
configure, and that no file containing a backslash in its name is
created.
* tests/acoutbs.test: Likewise, plus updated copyright years.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
tests/acoutbs.test
tests/acoutbs2.test

index da0968a1a945f3f70cd22753538427665d9f13b0..c0270c332bb71829015dc47882d6d5d49066eaa2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2010-01-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
+       Slighty improve tests acoutbs.test and acoutbs2.test.
+       * tests/acoutbs2.test: Enable `errexit' shell flag.  Check that
+       autoconf and configure work, that the file `zot' is created by
+       configure, and that no file containing a backslash in its name is
+       created.
+       * tests/acoutbs.test: Likewise, plus updated copyright years.
+
        Fix test acoutbs2.test.
        * tests/acoutbs2: In the generated configure.in: add proper calls
        to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
index 0f5eb48741391f6900cdb80e2c8bf2ddf8643112..0ce981c324d45f65c6baeefe547a9ea6dc766c09 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# Copyright (C) 1996, 2000, 2001, 2002  Free Software Foundation, Inc.
+# Copyright (C) 1996, 2000, 2001, 2002, 2010  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
@@ -19,6 +19,8 @@
 
 . ./defs || Exit 1
 
+set -e
+
 cat > configure.in << 'END'
 AC_INIT
 AM_INIT_AUTOMAKE(nonesuch, nonesuch)
@@ -29,5 +31,13 @@ END
 : > Makefile.am
 : > zot.in
 
-$ACLOCAL || Exit 1
+$ACLOCAL
+$AUTOCONF
 $AUTOMAKE
+
+./configure
+
+test -f zot || Exit 1
+ls -a | grep '\\' && Exit 1
+
+:
index 3b56a2167d265f0dac13b17b74d21137b66de052..5e03c08ba5bcf496a3b7588222a585e10e531f42 100755 (executable)
@@ -19,6 +19,8 @@
 
 . ./defs || Exit 1
 
+set -e
+
 cat > configure.in << 'END'
 AC_INIT
 AM_INIT_AUTOMAKE(nonesuch, nonesuch)
@@ -34,5 +36,13 @@ END
 : > Makefile.am
 : > zot.in
 
-$ACLOCAL || Exit 1
+$ACLOCAL
+$AUTOCONF
 $AUTOMAKE
+
+./configure
+
+test -f zot || Exit 1
+ls -a | grep '\\' && Exit 1
+
+: