summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2020-02-26 15:36:28 +0100
committerWerner Koch <wk@gnupg.org>2020-02-26 15:36:28 +0100
commit2f169b341e410924c5d7ee7d76ac67f85f26ed6a (patch)
tree314a212361cfb5950172dcdda8bfd1a16b304289 /tests
parent9d268891dae6093e5346710a38ba8cd978f24f09 (diff)
downloadlibgpg-error-2f169b341e410924c5d7ee7d76ac67f85f26ed6a.tar.gz
core: Add meta command handler stubs to argparse.c.
* src/argparse.c (handle_meta_user): New stub. (handle_meta_force): New stub. (handle_meta_ignore): New stub. (handle_meta_echo): New. (handle_metacmd): New. (_gpgrt_argparse): Call meta command handler. -- GnuPG-bug-id: 4788 Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/etc/t-argparse.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/etc/t-argparse.conf b/tests/etc/t-argparse.conf
index 0852e71..c556466 100644
--- a/tests/etc/t-argparse.conf
+++ b/tests/etc/t-argparse.conf
@@ -3,6 +3,8 @@
# Options applied to all user's config files
#verbose
+[echo Begin global config]
+
[group :staff]
# These option are applied to all users of the group staff up until
# the next [group] or [user] statement.
@@ -52,3 +54,5 @@ my-option 42
# The default algorithm for new keys is set to this.
a-long-option
+
+[echo End global config]