]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Quote $abs_top_srcdir in tests.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 4 Dec 2007 21:48:42 +0000 (22:48 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 8 Dec 2007 10:53:38 +0000 (11:53 +0100)
* tests/local.at (AT_CHECK_PERL_SYNTAX): Likewise.
* tests/tools.at (Syntax of the shell scripts): Likewise.

ChangeLog
tests/local.at
tests/tools.at

index 0b05ce31999dce2cc8c8ac50a959d7d48ae34d49..2060138e8fc064866e45fcf6dcc45df0d9de8a4f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2007-12-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       Quote $abs_top_srcdir in tests.
+       * tests/local.at (AT_CHECK_PERL_SYNTAX): Likewise.
+       * tests/tools.at (Syntax of the shell scripts): Likewise.
+
        * tests/m4sh.at (LINENO): Quote $0.
 
        Fix testsuite program wrapper for whitespace in `pwd`.
index b17fff3bc9448434a22e98d90b28b80cde0dc7bf..75823e247dafe7668d302888c1e518697d42bf2c 100644 (file)
@@ -52,7 +52,7 @@ m4_define([AT_CHECK_SHELL_SYNTAX],
   [AT_CHECK([/bin/sh -n $1])])])
 
 m4_define([AT_CHECK_PERL_SYNTAX],
-[AT_CHECK([autom4te_perllibdir=$abs_top_srcdir/lib $PERL -c $abs_top_builddir/bin/$1],
+[AT_CHECK([autom4te_perllibdir=$abs_top_srcdir/lib $PERL -c "$abs_top_builddir"/bin/$1],
           0, [], [ignore])])
 
 ## ------------------ ##
index 199c15e4aceb4c92f8ef1433572a561a8fdfefa7..8c0794f42e1138002b8584a26434307003c3ea76 100644 (file)
@@ -50,13 +50,13 @@ AT_CHECK([test "$ac_cv_sh_n_works" = yes || exit 77])
 # Specify the absolute name of the tool, as some shells don't honor PATH when
 # running `sh PROG'.
 
-AT_CHECK_SHELL_SYNTAX([$abs_top_builddir/bin/autoconf])
-AT_CHECK_SHELL_SYNTAX([$abs_top_builddir/tests/autoconf])
-AT_CHECK_SHELL_SYNTAX([$abs_top_builddir/tests/testsuite])
+AT_CHECK_SHELL_SYNTAX(["$abs_top_builddir/bin/autoconf"])
+AT_CHECK_SHELL_SYNTAX(["$abs_top_builddir/tests/autoconf"])
+AT_CHECK_SHELL_SYNTAX(["$abs_top_builddir/tests/testsuite"])
 
 # These are not built, they are in the src tree.
-AT_CHECK_SHELL_SYNTAX([$abs_top_srcdir/build-aux/install-sh])
-AT_CHECK_SHELL_SYNTAX([$abs_top_srcdir/build-aux/missing])
+AT_CHECK_SHELL_SYNTAX(["$abs_top_srcdir/build-aux/install-sh"])
+AT_CHECK_SHELL_SYNTAX(["$abs_top_srcdir/build-aux/missing"])
 
 AT_CLEANUP