test: reset test_subtest_known_broken_ after each success/failure.
authorDavid Bremner <bremner@debian.org>
Tue, 13 Sep 2011 01:40:57 +0000 (22:40 -0300)
committerDavid Bremner <bremner@debian.org>
Tue, 13 Sep 2011 02:35:21 +0000 (23:35 -0300)
commit22af786838793ed97fa3dbb1d223e90602912b71
tree06f5157537400795eae0e03f3a97ed110df359b2
parentfa52a0d094a6585f36f484082fc3e28261718e72
test: reset test_subtest_known_broken_ after each success/failure.

This means that test_subtest_known_broken needs to be called before
every known broken subtest, which is no different than what is
documented for the test_begin_subtest case.

The assumption is that every test ends up calling either skipping,
calling test_ok_ or test_failure_ and and the latter in turn delegate
to the known_broken versions in the case where
test_subtest_known_broken_ is set.
test/test-lib.sh