test: require test_begin_subtest before test_expect_success
authorJani Nikula <jani@nikula.org>
Sun, 26 Feb 2017 13:43:00 +0000 (15:43 +0200)
committerDavid Bremner <david@tethera.net>
Thu, 9 Mar 2017 13:01:21 +0000 (09:01 -0400)
commitd0cd253b37646d9364d046e1d3edb022a58c105a
treeff9af83a8bd1e3380e81c3e3d73389fc98d190a7
parentb8f12bd3717aa446ef04197734af7a055e6909fe
test: require test_begin_subtest before test_expect_success

Unify the subtests by requiring test_begin_subtest before
test_expect_success. (Similar change for test_expect_code will
follow.)

This increases clarity in the test scripts by having a separate line
for the start of the subtest with the heading, and makes it possible
to simplify the test infrastructure by making all subtests similar.
18 files changed:
test/README
test/T000-basic.sh
test/T010-help-test.sh
test/T020-compact.sh
test/T190-multipart.sh
test/T240-dump-restore.sh
test/T310-emacs.sh
test/T340-maildir-sync.sh
test/T350-crypto.sh
test/T355-smime.sh
test/T380-atomicity.sh
test/T400-hooks.sh
test/T530-upgrade.sh
test/T560-lib-error.sh
test/T570-revision-tracking.sh
test/T600-named-queries.sh
test/test-lib.sh
test/test-verbose