check: fix test-suite.log formatting with NetBSD sed
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 14 Feb 2012 20:23:04 +0000 (21:23 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 14 Feb 2012 20:23:31 +0000 (21:23 +0100)
commitb2c1adfe1e118ed8fb5fc68ced68ef69ea39b543
treec7927c9f1f4a234e92b372ac4da16944add27837
parentff8269e114bcee4070b8837c1e8715dd5c22d04f
check: fix test-suite.log formatting with NetBSD sed

* lib/am/check.am (am__rst_section): Tweak to ensure en extra final
newline is printed also with NetBSD sed.  Issue revealed by a
failure of 'test-metadata-global-result.test'.
* tests/rst-formatting.test: New test, checking the internal
variables '$(am__rst_title)' and '$(am__rst_section)'.
* tests/list-of-tests.mk: Add it.
lib/am/check.am
tests/list-of-tests.mk
tests/rst-formatting.test [new file with mode: 0755]