diff options
| author | David Bremner <david@tethera.net> | 2026-01-25 07:56:34 +0900 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2026-02-16 07:24:18 +0900 |
| commit | b222d18634e95b54010cec02e994d3cc96755746 (patch) | |
| tree | 5f0a3c028a900f357bda21a934c4c4acea348952 /test | |
| parent | b8fa14f8a8f3e30c95f1dad54daa79a6a962fa73 (diff) | |
lib/config: add config keys for git-remote-notmuch.
The precise function will be explained in a future update to
notmuch-config(1).
Diffstat (limited to 'test')
| -rwxr-xr-x | test/T030-config.sh | 3 | ||||
| -rwxr-xr-x | test/T055-path-config.sh | 6 | ||||
| -rwxr-xr-x | test/T590-libconfig.sh | 12 |
3 files changed, 21 insertions, 0 deletions
diff --git a/test/T030-config.sh b/test/T030-config.sh index 1d2b7df8..ce6653ee 100755 --- a/test/T030-config.sh +++ b/test/T030-config.sh @@ -59,6 +59,9 @@ database.mail_root=MAIL_DIR database.path=MAIL_DIR foo.list=this;is another;list value; foo.string=this is another string value +git.fail_on_missing=true +git.metadata_prefix=_notmuch_metadata +git.ref=refs/heads/master index.as_text= maildir.synchronize_flags=true new.ignore= diff --git a/test/T055-path-config.sh b/test/T055-path-config.sh index 049b745e..4d1edec0 100755 --- a/test/T055-path-config.sh +++ b/test/T055-path-config.sh @@ -299,6 +299,9 @@ database.backup_dir database.hook_dir database.mail_root=MAIL_DIR database.path +git.fail_on_missing=true +git.metadata_prefix=_notmuch_metadata +git.ref=refs/heads/master index.as_text= maildir.synchronize_flags=true new.ignore= @@ -325,6 +328,9 @@ database.backup_dir database.hook_dir database.mail_root database.path +git.fail_on_missing +git.metadata_prefix +git.ref maildir.synchronize_flags new.tags search.authors_matched_separator diff --git a/test/T590-libconfig.sh b/test/T590-libconfig.sh index 9b364895..e893fd1f 100755 --- a/test/T590-libconfig.sh +++ b/test/T590-libconfig.sh @@ -443,6 +443,9 @@ cat <<'EOF' >EXPECTED 13: '' 14: ', ' 15: '| ' +16: 'true' +17: '_notmuch_metadata' +18: 'refs/heads/master' == stderr == EOF unset MAILDIR @@ -760,6 +763,9 @@ cat <<'EOF' >EXPECTED 13: 'text/' 14: ', ' 15: '| ' +16: 'true' +17: '_notmuch_metadata' +18: 'refs/heads/master' == stderr == EOF test_expect_equal_file EXPECTED OUTPUT @@ -797,6 +803,9 @@ cat <<'EOF' >EXPECTED 13: '' 14: ', ' 15: '| ' +16: 'true' +17: '_notmuch_metadata' +18: 'refs/heads/master' == stderr == EOF test_expect_equal_file EXPECTED OUTPUT.clean @@ -868,6 +877,9 @@ database.backup_dir MAIL_DIR/.notmuch/backups database.hook_dir MAIL_DIR/.notmuch/hooks database.mail_root MAIL_DIR database.path MAIL_DIR +git.fail_on_missing true +git.metadata_prefix _notmuch_metadata +git.ref refs/heads/master index.as_text text/ key with spaces value, with, spaces! maildir.synchronize_flags true |
