+2010-07-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ Fix testsuite to not trigger Solaris sh for bug.
+ * tests/torture.at (Torturing config.status)
+ (Substitute a 2000-byte string)
+ (Substitute and define special characters)
+ (Substitute a newline): Quote first argument in for list so
+ that it does not look like an assignment.
+
2010-07-02 Eric Blake <eblake@redhat.com>
Post-release administrivia.
AT_CHECK_AUTOCONF
AT_CHECK_AUTOHEADER
-# Check both awk and the result of AC_PROG_AWK
-for awk_arg in FOO= AWK=awk; do
+# Check both awk and the result of AC_PROG_AWK.
+# Quote the first word in the for list for Solaris sh.
+for awk_arg in "FOO=" AWK=awk; do
AT_CHECK_CONFIGURE([$awk_arg])
# Checking that AC_DEFINE worked properly.
AT_CHECK_AUTOCONF
# Check both awk and the result of AC_PROG_AWK
-for awk_arg in Foo= AWK=awk; do
+# Quote the first word in the for list for Solaris sh.
+for awk_arg in "Foo=" AWK=awk; do
AT_CHECK_CONFIGURE([$awk_arg])
AT_CHECK([cat Foo], 0, m4_for([n], 1, 100,, ....................)
)
AT_CHECK_AUTOCONF
AT_CHECK_AUTOHEADER
# Check both awk and the result of AC_PROG_AWK
-for awk_arg in FOO= AWK=awk; do
+# Quote the first word in the for list for Solaris sh.
+for awk_arg in "FOO=" AWK=awk; do
AT_CHECK_CONFIGURE([$awk_arg])
AT_CHECK([cat Foo], 0, [[X*'[]+ ", & &`\($foo \& \\& \\\& \\\\& \ \\ \\\ !
@foo@ @baz@@notsubsted@bla stray @ and more@@bla
AT_CHECK_AUTOCONF
# Check both awk and the result of AC_PROG_AWK
-for awk_arg in FOO= AWK=awk; do
+# Quote the first word in the for list for Solaris sh.
+for awk_arg in "FOO=" AWK=awk; do
AT_CHECK_CONFIGURE([$awk_arg])
AT_CHECK([cat Foo], 0, [expout])
done