X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Ftest-verbose;h=8af6d9a97600b0ad867a42839841908a8c6c82e4;hp=4100c05149f1718896b5ec916111d684979358ce;hb=2786aa4d548d28579c761e9358d44c84dfb29068;hpb=3fa843216c918fe4a6151e55947cf3a7f46fcdb5 diff --git a/test/test-verbose b/test/test-verbose index 4100c051..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 +. $(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