]> git.cworth.org Git - notmuch/blob - test/test-verbose
python-cffi: returned OwnedMessage objects from Message.replies
[notmuch] / test / test-verbose
1 #!/usr/bin/env bash
2
3 test_description='the verbosity options of the test framework itself.'
4
5 . $(dirname "$0")/test-lib.sh || exit 1
6
7 test_begin_subtest 'print something in test_expect_success and pass'
8 test_expect_success '
9   echo "hello stdout" &&
10   echo "hello stderr" >&2 &&
11   true
12 '
13 test_begin_subtest 'print something in test_expect_success and fail'
14 test_expect_success '
15   echo "hello stdout" &&
16   echo "hello stderr" >&2 &&
17   false
18 '
19 test_begin_subtest 'print something between test_begin_subtest and test_expect_equal and pass'
20 echo "hello stdout"
21 echo "hello stderr" >&2
22 test_expect_equal "a" "a"
23
24 test_begin_subtest 'print something test_begin_subtest and test_expect_equal and fail'
25 echo "hello stdout"
26 echo "hello stderr" >&2
27 test_expect_equal "a" "b"
28
29 test_done