aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPeter Wang <novalazy@gmail.com>2012-04-14 11:41:04 +1000
committerDavid Bremner <bremner@debian.org>2012-04-28 10:44:57 -0300
commit86f01063d74cb45ed83df80c9406262ae533d178 (patch)
tree426e6642d376a4850fcda4dfc1151076bfc46ade /test
parentb8c7707d4d2faeceb2ea2f79255b792a06bbbffe (diff)
test: Add broken test for 'config list'
Proposed functionality.
Diffstat (limited to 'test')
-rwxr-xr-xtest/config16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/config b/test/config
index 9030154..3bf8098 100755
--- a/test/config
+++ b/test/config
@@ -42,4 +42,20 @@ test_begin_subtest "Remove non-existent key"
notmuch config set foo.nonexistent
test_expect_equal "$(notmuch config get foo.nonexistent)" ""
+test_begin_subtest "List all items"
+test_subtest_known_broken
+notmuch config set database.path "/canonical/path"
+output=$(notmuch config list)
+test_expect_equal "$output" "\
+database.path=/canonical/path
+user.name=Notmuch Test Suite
+user.primary_email=test_suite@notmuchmail.org
+user.other_email=test_suite_other@notmuchmail.org;test_suite@otherdomain.org
+new.tags=unread;inbox;
+new.ignore=
+search.exclude_tags=
+maildir.synchronize_flags=true
+foo.string=this is another string value
+foo.list=this;is another;list value;"
+
test_done