X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Ftest-verbose;h=8af6d9a97600b0ad867a42839841908a8c6c82e4;hp=1723ce665caa73287c4ae5dced5099786626c15b;hb=1c390652455356c9acfea0eb982c688e2f09e47a;hpb=02a2eeb427d6b424029f6e5e5ddad4c6ec987741 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