Fix testsuite --list subset.

* lib/autotest/general.m4 (AT_INIT) <at_list_p>: Swap newlines
back to spaces, before listing subset of tests.
Reported by Ralf Wildenhues.

Signed-off-by: Eric Blake <ebb9@byu.net>
This commit is contained in:
Eric Blake 2007-10-20 22:29:44 -06:00
parent 49d1c176cc
commit 9cd3a80e3c
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2007-10-20 Eric Blake <ebb9@byu.net>
Fix testsuite --list subset.
* lib/autotest/general.m4 (AT_INIT) <at_list_p>: Swap newlines
back to spaces, before listing subset of tests.
Reported by Ralf Wildenhues.
2007-10-19 Eric Blake <ebb9@byu.net>
s/parenthesis/parentheses/ where appropriate.

View File

@ -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 {