* tests/torture.at (srcdir): Fix quoting.

This commit is contained in:
Ralf Wildenhues 2007-12-08 12:00:02 +01:00
parent 3b27d0a8a8
commit 8fab8ab6d2
2 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2007-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/torture.at (srcdir): Fix quoting.
Do not pass top_srcdir to configure scripts in testsuite.
* tests/autotest.at (srcdir propagation): Copy install-sh to
source tree.

View File

@ -972,10 +972,13 @@ AT_DATA([configure.ac],
AC_CONFIG_FILES([foo at-dir/bar])
# Use quotes in the INIT-COMMANDS to accommodate a value of $srcdir
# containing e.g., spaces or shell meta-characters.
# Use *single* quotes because the context is an unquoted here-doc.
AC_CONFIG_COMMANDS([report],
[test -f $srcdir/configure.ac ||
[test -f "$srcdir/configure.ac" ||
AC_MSG_ERROR([cannot find $srcdir/configure.ac])],
[srcdir=$srcdir])
[srcdir='$srcdir'])
AC_OUTPUT
rm -f -r foo at-dir/bar