X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Ftest-verbose;h=8af6d9a97600b0ad867a42839841908a8c6c82e4;hp=f29a9c7d655e106d5d500e4f27b18bc5e5528c41;hb=1c390652455356c9acfea0eb982c688e2f09e47a;hpb=ac9dbb47de734afb0ddd4d0b2eb8f5027b1a7f60 diff --git a/test/test-verbose b/test/test-verbose index f29a9c7d..8af6d9a9 100755 --- a/test/test-verbose +++ b/test/test-verbose @@ -1,15 +1,17 @@ -#!/bin/bash +#!/usr/bin/env bash 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