]> git.cworth.org Git - notmuch/blobdiff - test/T010-help-test.sh
test: support testing notmuch as installed
[notmuch] / test / T010-help-test.sh
index 1fbc46a2dc4a95bbc2f618d8dec606ccee75c788..827edc149a727bb5427fcb53d8a11ab6516b9bc1 100755 (executable)
@@ -19,6 +19,9 @@ if [ "${NOTMUCH_HAVE_MAN-0}" = "1" ]; then
     test_begin_subtest 'notmuch help tag'
     test_expect_success 'notmuch help tag'
 else
+    if [ -n "${NOTMUCH_TEST_INSTALLED-}" ]; then
+       test_done
+    fi
     test_begin_subtest 'notmuch --help tag (man pages not available)'
     test_expect_success 'test_must_fail notmuch --help tag >/dev/null'