aboutsummaryrefslogtreecommitdiffstats
path: root/tests/etc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/etc')
-rw-r--r--tests/etc/Registry8
-rw-r--r--tests/etc/t-argparse.conf5
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/etc/Registry b/tests/etc/Registry
new file mode 100644
index 0000000..fe5598e
--- /dev/null
+++ b/tests/etc/Registry
@@ -0,0 +1,8 @@
+# A test Registry emulation file for t-argparse
+
+[HKCU\Software\GNU\GnuPG]
+DisableAKR: fact
+SomeKey: Value-one
+
+[ \fhghfkhkfh ]
+DisableAKR: yes
diff --git a/tests/etc/t-argparse.conf b/tests/etc/t-argparse.conf
index 92c373d..d8afc9c 100644
--- a/tests/etc/t-argparse.conf
+++ b/tests/etc/t-argparse.conf
@@ -69,6 +69,11 @@ output
# Default key for user john
my-option 42
+[expand]
+[getreg foo HKCU\Software\GNU\GnuPG:DisableAKR]
+disable-akr $foo
+[-expand]
+
# Options applied only for user joy end here.
[user *]
[-info All the following options are applied only if the]