X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Ftest-verbose;h=8af6d9a97600b0ad867a42839841908a8c6c82e4;hp=1723ce665caa73287c4ae5dced5099786626c15b;hb=2786aa4d548d28579c761e9358d44c84dfb29068;hpb=33c8777a967ece2dd4bbda7e83a4e07c195abf51 diff --git a/test/test-verbose b/test/test-verbose index 1723ce66..8af6d9a9 100755 --- a/test/test-verbose +++ b/test/test-verbose @@ -2,14 +2,16 @@ test_description='the verbosity options of the test framework itself.' -. ./test-lib.sh || exit 1 +. $(dirname "$0")/test-lib.sh || exit 1 -test_expect_success 'print something in test_expect_success and pass' ' +test_begin_subtest 'print something in test_expect_success and pass' +test_expect_success ' echo "hello stdout" && echo "hello stderr" >&2 && true ' -test_expect_success 'print something in test_expect_success and fail' ' +test_begin_subtest 'print something in test_expect_success and fail' +test_expect_success ' echo "hello stdout" && echo "hello stderr" >&2 && false