unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob d3e574c32803ef3910e0e69e9870b45b7934bedf 472 bytes (raw)
name: test/config 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
 
#!/usr/bin/env bash

test_description='"notmuch config"'
. test-lib.sh

test_begin_subtest "Get string value"
test_expect_equal "$(notmuch config get user.name)" "Notmuch Test Suite"

test_begin_subtest "Get list value"
test_expect_equal "$(notmuch config get new.tags)" "\
unread
inbox"

test_expect_success "Set string value" \
  'notmuch config set foo.bar baz'

test_expect_success "Set list value" \
  'notmuch config set foo.list xxx "yyy yyy" "zzz zzz"'

test_done

debug log:

solving d3e574c ...
found d3e574c in https://yhetil.org/notmuch/1333149350-22616-3-git-send-email-novalazy@gmail.com/

applying [1/1] https://yhetil.org/notmuch/1333149350-22616-3-git-send-email-novalazy@gmail.com/
diff --git a/test/config b/test/config
new file mode 100755
index 0000000..d3e574c

Checking patch test/config...
Applied patch test/config cleanly.

index at:
100755 d3e574c32803ef3910e0e69e9870b45b7934bedf	test/config

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).