]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Fix testsuite --list subset.
authorEric Blake <ebb9@byu.net>
Sun, 21 Oct 2007 04:29:44 +0000 (22:29 -0600)
committerEric Blake <ebb9@byu.net>
Sun, 21 Oct 2007 04:39:23 +0000 (22:39 -0600)
* 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>
ChangeLog
lib/autotest/general.m4

index 9603e3290be3883013aacb39cb74b0590c516bf8..af1c06e67832621c018b15e6efe427552121a44b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 012633c6245e0a8ca75abc093853a4976002e259..aa2920203213dde935c33d2375f8968b87e9228f 100644 (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 {