* 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>
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
#!/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
. ./defs || Exit 1
+set -e
+
cat > configure.in << 'END'
AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
: > Makefile.am
: > zot.in
-$ACLOCAL || Exit 1
+$ACLOCAL
+$AUTOCONF
$AUTOMAKE
+
+./configure
+
+test -f zot || Exit 1
+ls -a | grep '\\' && Exit 1
+
+:
. ./defs || Exit 1
+set -e
+
cat > configure.in << 'END'
AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
: > Makefile.am
: > zot.in
-$ACLOCAL || Exit 1
+$ACLOCAL
+$AUTOCONF
$AUTOMAKE
+
+./configure
+
+test -f zot || Exit 1
+ls -a | grep '\\' && Exit 1
+
+: