[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 10/10] * tests/torture.at (srcdir): Fix quoting.
From: |
Ralf Wildenhues |
Subject: |
[PATCH 10/10] * tests/torture.at (srcdir): Fix quoting. |
Date: |
Tue, 4 Dec 2007 22:50:16 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
---
This test actually calls configure with an absolute path,
so in a tree with whitespace we need to quote (just like
most of the code under autoconf/lib does, too).
Cheers,
Ralf
tests/torture.at | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/torture.at b/tests/torture.at
index 11c619d..0f6d0ef 100644
--- a/tests/torture.at
+++ b/tests/torture.at
@@ -973,9 +973,9 @@ AT_DATA([configure.ac],
AC_CONFIG_FILES([foo at-dir/bar])
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
--
1.5.3.6.950.g92b7b
- [PATCH 2/10] * lib/autom4te.in: Quote @address@hidden, (continued)
- [PATCH 2/10] * lib/autom4te.in: Quote @address@hidden, Ralf Wildenhues, 2007/12/04
- [PATCH 3/10] Fix Autotest for whitespace in `pwd`., Ralf Wildenhues, 2007/12/04
- [PATCH 4/10] Proper config.status --file/--header and $srcdir escaping., Ralf Wildenhues, 2007/12/04
- [PATCH 5/10] Fix testsuite program wrapper for whitespace in `pwd`., Ralf Wildenhues, 2007/12/04
- [PATCH 6/10] * tests/m4sh.at (LINENO): Quote $0., Ralf Wildenhues, 2007/12/04
- [PATCH 7/10] Quote $abs_top_srcdir in tests., Ralf Wildenhues, 2007/12/04
- [PATCH 8/10] * tests/semantics.at (AC_PATH_PROGS_FEATURE_CHECK): Skip test if `pwd` contains whitespace., Ralf Wildenhues, 2007/12/04
- [PATCH 9/10] Do not pass top_srcdir to configure scripts in testsuite., Ralf Wildenhues, 2007/12/04
- [PATCH 10/10] * tests/torture.at (srcdir): Fix quoting.,
Ralf Wildenhues <=
- Re: [PATCH 0/10] Whitespace robustness patch series, Paul Eggert, 2007/12/04
- Re: [PATCH 0/10] Whitespace robustness patch series, Jim Meyering, 2007/12/07
- Re: [PATCH 0/10] Whitespace robustness patch series, Benoit Sigoure, 2007/12/16