test/test-lib.sh: use $test_subtest_name in all tests
authorTomi Ollila <tomi.ollila@iki.fi>
Mon, 21 Jan 2013 03:01:45 +0000 (05:01 +0200)
committerDavid Bremner <bremner@debian.org>
Tue, 19 Feb 2013 00:17:05 +0000 (20:17 -0400)
commit3a15602d8e069d469965721f4d526a26da38887b
tree70d60d86d068f0d1dea7d56a48e0cb5083c61330
parent3901bbca2eb3f24dd8ffa628a2c057ec1a28a1d0
test/test-lib.sh: use $test_subtest_name in all tests

Set the variable '$test_subtest_name' in all functions which starts
a new test and use that variable in all functions that output
test results.

Additionally output the latest '$test_subtest_name' in case of
abnormal exit, to avoid confusion.
test/test-lib.sh