mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
test: Add broken test for 'config list'
Proposed functionality.
This commit is contained in:
parent
b8c7707d4d
commit
86f01063d7
1 changed files with 16 additions and 0 deletions
16
test/config
16
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
|
||||
|
|
Loading…
Reference in a new issue