parallel-tests: avoid issue with overly long lines in sed input
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 5 Jan 2012 14:13:30 +0000 (15:13 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 5 Jan 2012 14:13:30 +0000 (15:13 +0100)
commite3b0e12400f5fa4220fc0aa79dd0989e56def9c6
treec1fe390bbcfcb67022c48c0d1d06fff9d893c01f
parenta6ccc2ae80a5e4044fff3cf26ef718600b7e1b92
parallel-tests: avoid issue with overly long lines in sed input

See automake bug#10437:
  <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10437>
and coreutils bug#10427:
  <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10427#8>

* lib/am/check.am (recheck, recheck-html): In order to strip
trailing whitespace from the definition of the `$list' variable,
we used to invoke sed in a way that could cause it to get passed
overly long input lines, causing spurious failures.  So rework
the logic of the recipe to avoid any sed invocation, relying on
simpler shell idioms instead.
(check-TESTS): Reorganize the recipe to be more similar to the
one of `recheck', for consistency and simplicity.
* NEWS: Update.

Report and analysis by Paul Eggert.
NEWS
lib/am/check.am