test: add simple tests for online help 0.10.1 debian/0.10.1-1
authorDavid Bremner <bremner@debian.org>
Fri, 25 Nov 2011 17:28:11 +0000 (12:28 -0500)
committerDavid Bremner <bremner@debian.org>
Fri, 25 Nov 2011 17:35:40 +0000 (12:35 -0500)
Nothing fancy, but we can at least detect segmentation faults.

test/help-test [new file with mode: 0755]
test/notmuch-test

diff --git a/test/help-test b/test/help-test
new file mode 100755 (executable)
index 0000000..9f4b9c7
--- /dev/null
@@ -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
index adfd589fe0765d19d575d4714f59ef4f352b6022..5aced5cef9fdb98cd1c213486de1e0f008371c90 100755 (executable)
@@ -18,6 +18,7 @@ cd $(dirname "$0")
 
 TESTS="
   basic
+  help-test
   new
   count
   search