]> git.notmuchmail.org Git - notmuch/commit
test: drop the implicit prereq check mechanism from test_expect_*
authorJani Nikula <jani@nikula.org>
Sun, 26 Feb 2017 13:42:59 +0000 (15:42 +0200)
committerDavid Bremner <david@tethera.net>
Thu, 9 Mar 2017 13:00:16 +0000 (09:00 -0400)
commitb8f12bd3717aa446ef04197734af7a055e6909fe
treeaeb2be8ef5516a3b2652b736a927151bca8b7b7a
parente563b8cafd394f673f0a768d46c18dd5da7411a5
test: drop the implicit prereq check mechanism from test_expect_*

The only place where we use the implicit prereq check is T000-basic.sh
where we check that it works. It's an added complication that we don't
use. Remove it.

The test_have_prereq function can still be used for the same effect in
subtests that use test_begin_subtest. For now, this will make it
impossible to have prereqs in one-line subtests that don't require
test_begin_subtest. This will be fixed in follow-up work.
test/T000-basic.sh
test/test-lib.sh