From: Eric Blake Date: Sun, 21 Oct 2007 04:29:44 +0000 (-0600) Subject: Fix testsuite --list subset. X-Git-Tag: v2.62~193 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cd3a80e3cd875df87ee2bc171bc090bf234dc5d;p=thirdparty%2Fautoconf.git Fix testsuite --list subset. * lib/autotest/general.m4 (AT_INIT) : Swap newlines back to spaces, before listing subset of tests. Reported by Ralf Wildenhues. Signed-off-by: Eric Blake --- diff --git a/ChangeLog b/ChangeLog index 9603e329..af1c06e6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-10-20 Eric Blake + + Fix testsuite --list subset. + * lib/autotest/general.m4 (AT_INIT) : Swap newlines + back to spaces, before listing subset of tests. + Reported by Ralf Wildenhues. + 2007-10-19 Eric Blake s/parenthesis/parentheses/ where appropriate. diff --git a/lib/autotest/general.m4 b/lib/autotest/general.m4 index 012633c6..aa292020 100644 --- a/lib/autotest/general.m4 +++ b/lib/autotest/general.m4 @@ -653,6 +653,11 @@ _ATEOF # Passing at_groups is tricky. We cannot use it to form a literal string # or regexp because of the limitation of AIX awk. And Solaris' awk # doesn't grok more than 99 fields in a record, so we have to use `split'. + # at_groups needs to be space-separated for this script to work. + case $at_groups in + *"$as_nl"* ) + at_groups=`AS_ECHO(["$at_groups"]) | tr "$as_nl" ' '` ;; + esac AS_ECHO(["$at_groups$as_nl$at_help_all"]) | awk 'BEGIN { FS = ";" } NR == 1 {