]> diplodocus.org Git - nmh/commit
Added start_test() and finish_test() functions to test/common.sh.in.
authorDavid Levine <david.levine@gonift.com>
Sat, 26 Mar 2016 22:59:31 +0000 (18:59 -0400)
committerDavid Levine <levinedl@acm.org>
Sun, 10 Apr 2016 15:30:30 +0000 (11:30 -0400)
commitdc4c3c4eeb3f74e5a7e3fedaded066572eac320b
tree29b8d3ae5c4015fa6e221d96d1b853685dcada66
parentfe36a7ee2f4304fd3797443d4f2f950d6dc2475d
Added start_test() and finish_test() functions to test/common.sh.in.
See usage information in the (new) cleanup() function in that file.
This allow us to isolate test failures based on naming of individual
tests within a single test file.  As part of this, added set -e to
setup_test().  This required minor updates to test/new/basic and
test/pick/test-stderr to conform.  So, migrated test/new/test-basic
to start_test()/finish_test().

(cherry picked from commit cd6133dd23422f92534328f768a322f63a5c6dfe)
test/common.sh.in
test/new/test-basic
test/pick/test-stderr