aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2014-12-09 21:01:11 +0100
committerDavid Bremner <david@tethera.net>2015-03-11 08:04:00 +0100
commitc883e632bf0a3692fa4ca7aa77604e0e60820295 (patch)
treec6ce8a5052663308d36f95b7f7b836af6be4ed4d /test
parent21ecd7369aa2aa24d26775c3fe5edcb437914774 (diff)
CLI: make gpg binary used by libgmime configurable.
Previously we set up a way for the top level notmuch command to choose which gpg binary was invoked by libgmime. In this commit we add the (mostly boilerplate) code to allow the notmuch-config command to read and write this path, and use it in the appropriate struct. Update tests for new default variable
Diffstat (limited to 'test')
-rwxr-xr-xtest/T030-config.sh1
-rwxr-xr-xtest/T040-setup.sh3
2 files changed, 3 insertions, 1 deletions
diff --git a/test/T030-config.sh b/test/T030-config.sh
index ca4cf330..7d14a85f 100755
--- a/test/T030-config.sh
+++ b/test/T030-config.sh
@@ -54,6 +54,7 @@ new.tags=unread;inbox;
new.ignore=
search.exclude_tags=
maildir.synchronize_flags=true
+crypto.gpg_path=gpg
foo.string=this is another string value
foo.list=this;is another;list value;"
diff --git a/test/T040-setup.sh b/test/T040-setup.sh
index b1972e70..0e9f279a 100755
--- a/test/T040-setup.sh
+++ b/test/T040-setup.sh
@@ -28,6 +28,7 @@ user.other_email=another.suite@example.com;
new.tags=foo;bar;
new.ignore=
search.exclude_tags=baz;
-maildir.synchronize_flags=true"
+maildir.synchronize_flags=true
+crypto.gpg_path=gpg"
test_done