+2009-03-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ parallel-tests: Fix summary output.
+ * lib/am/check.am (am__text_box): Fix unportable sed script,
+ replacing `\n' in the right hand side of an `s' command with
+ a literal newline. Kudos to Bruno Haible for the newline idea.
+ * tests/parallel-tests.test: Update test to expose this.
+
2009-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Overhaul of tests/README.
am__rst_section = sed 'p;s/./=/g;p;g'
# Put stdin (possibly several lines separated by ". ") in a box.
-am__text_box = sed 's/\. /\n/g' | sed '/^$$/d' | \
+am__text_box = { nlinit=`echo 'nl="'; echo '"'`; eval "$$nlinit"; \
+ sed "s/\\. /\\$$nl/g"; } | sed '/^$$/d' | \
$(AWK) '{ if (final) final = final "\n" $$0; else final = $$0; }\
max < length($$0) { max = length($$0); } \
END { \
am__rst_title = sed 's/.*/ & /;h;s/./=/g;p;x;p;g;p;s/.*//'
am__rst_section = sed 'p;s/./=/g;p;g'
# Put stdin (possibly several lines separated by ". ") in a box.
-am__text_box = sed 's/\. /\n/g' | sed '/^$$/d' | \
+am__text_box = { nlinit=`echo 'nl="'; echo '"'`; eval "$$nlinit"; \
+ sed "s/\\. /\\$$nl/g"; } | sed '/^$$/d' | \
$(AWK) '{ if (final) final = final "\n" $$0; else final = $$0; }\
max < length($$0) { max = length($$0); } \
END { \
test -f baz.log
test -f bar.log
test -f foo.log
+# The summary should be formatted correctly.
+grep 'failedn' stdout && Exit 1
# clean should remove all log files (but not more).
: > unrelated.log