]> git.cworth.org Git - notmuch/blob - test/test-verbose
emacs: Clarify description of thread manipulating functions
[notmuch] / test / test-verbose
1 #!/usr/bin/env bash
2
3 test_description='the verbosity options of the test framework itself.'
4
5 . ./test-lib.sh
6
7 test_expect_success 'print something in test_expect_success and pass' '
8   echo "hello stdout" &&
9   echo "hello stderr" >&2 &&
10   true
11 '
12 test_expect_success 'print something in test_expect_success and fail' '
13   echo "hello stdout" &&
14   echo "hello stderr" >&2 &&
15   false
16 '
17 test_begin_subtest 'print something between test_begin_subtest and test_expect_equal and pass'
18 echo "hello stdout"
19 echo "hello stderr" >&2
20 test_expect_equal "a" "a"
21
22 test_begin_subtest 'print something test_begin_subtest and test_expect_equal and fail'
23 echo "hello stdout"
24 echo "hello stderr" >&2
25 test_expect_equal "a" "b"
26
27 test_done