From: David Bremner Date: Sat, 23 May 2015 20:28:47 +0000 (+0200) Subject: test: redirect man output to /dev/null X-Git-Tag: 0.21_rc0~98 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=783a559968968a407cbaa42249613216c27d54f8 test: redirect man output to /dev/null In the case the these tests fail, they generate a bunch of output; this output is not very interesting because it is just the successful output of a man page. It does however make it hard to see what tests are actually failing, even with NOTMUCH_TEST_QUIET --- diff --git a/test/T010-help-test.sh b/test/T010-help-test.sh index caf8bdb0..d7266ffc 100755 --- a/test/T010-help-test.sh +++ b/test/T010-help-test.sh @@ -12,9 +12,9 @@ if [ $NOTMUCH_HAVE_MAN -eq 1 ]; then test_expect_success 'notmuch help tag' 'notmuch help tag' else test_expect_success 'notmuch --help tag (man pages not available)' \ - 'test_must_fail notmuch --help tag' + 'test_must_fail notmuch --help tag >/dev/null' test_expect_success 'notmuch help tag (man pages not available)' \ - 'test_must_fail notmuch help tag' + 'test_must_fail notmuch help tag >/dev/null' fi test_done