From 398b94bb394e2be0633175b58b47451bc3ba98ca Mon Sep 17 00:00:00 2001
From: David Bremner <bremner@debian.org>
Date: Fri, 25 Nov 2011 12:28:11 -0500
Subject: [PATCH] test: add simple tests for online help

Nothing fancy, but we can at least detect segmentation faults.
---
 test/help-test    | 12 ++++++++++++
 test/notmuch-test |  1 +
 2 files changed, 13 insertions(+)
 create mode 100755 test/help-test

diff --git a/test/help-test b/test/help-test
new file mode 100755
index 00000000..9f4b9c79
--- /dev/null
+++ b/test/help-test
@@ -0,0 +1,12 @@
+#!/usr/bin/env bash
+
+test_description="online help"
+. test-lib.sh
+
+test_expect_success 'notmuch --help' 'notmuch --help'
+test_expect_success 'notmuch --help tag' 'notmuch --help tag'
+test_expect_success 'notmuch help' 'notmuch help'
+test_expect_success 'notmuch help tag' 'notmuch help tag'
+test_expect_success 'notmuch --version' 'notmuch --version'
+
+test_done
diff --git a/test/notmuch-test b/test/notmuch-test
index adfd589f..5aced5ce 100755
--- a/test/notmuch-test
+++ b/test/notmuch-test
@@ -18,6 +18,7 @@ cd $(dirname "$0")
 
 TESTS="
   basic
+  help-test
   new
   count
   search
-- 
2.45.2