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