diff options
Diffstat (limited to 'src/postconf/test77-main.cf')
| -rw-r--r-- | src/postconf/test77-main.cf | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/src/postconf/test77-main.cf b/src/postconf/test77-main.cf new file mode 100644 index 000000000..0a9ed625d --- /dev/null +++ b/src/postconf/test77-main.cf @@ -0,0 +1,67 @@ +# Test that debug:$dbtype:$dbname in a parameter value is processed like +# $dbtype:$dbname. Specifically, all $dbname_$dbparamsuffix parameters (where +# $dbparamsuffix is a recognized parameter suffix for $dbtype) should be marked +# as used if debug:$dbtype:$dbname is in a used parameter. +# +# See also: test28, test29 + +_debug = debug + +header_checks = + ldap:_baseline + debug:ldap:_debug + ${_debug}:ldap:_debugvar + proxy:debug:ldap:_proxy_debug + debug:proxy:ldap:_debug_proxy + pipemap:{debug:ldap:_pipemap_debug} + debug:pipemap:{ldap:_debug_pipemap} + unionmap:{debug:ldap:_unionmap_debug} + debug:unionmap:{ldap:_debug_unionmap} + +# The following parameters should be considered in-use because *_domain is a +# recognized parameter suffix for the ldap: table type. +_baseline_domain = whatever +_debug_domain = whatever +_debugvar_domain = whatever +_debug_proxy_domain = whatever +_proxy_debug_domain = whatever +_pipemap_debug_domain = whatever +_debug_pipemap_domain = whatever +_unionmap_debug_domain = whatever +_debug_unionmap_domain = whatever + +# These parameters should cause unused warnings because *_foo is not a +# recognized parameter suffix for the ldap: table type. +_baseline_foo = whatever +_debug_foo = whatever +_debugvar_foo = whatever +_debug_proxy_foo = whatever +_proxy_debug_foo = whatever +_pipemap_debug_foo = whatever +_debug_pipemap_foo = whatever +_unionmap_debug_foo = whatever +_debug_unionmap_foo = whatever + +# $_unused_tables is an unused parameter, so none of the tables mentioned in its +# value should cause any $dbname_$dbparamsuffix parameter to be marked as +# in-use. +_unused_tables = + ldap:_unused_baseline + debug:ldap:_unused_debug + ${_debug}:ldap:_unused_debugvar + proxy:debug:ldap:_unused_proxy_debug + debug:proxy:ldap:_unused_debug_proxy + pipemap:{debug:ldap:_unused_pipemap_debug} + debug:pipemap:{ldap:_unused_debug_pipemap} + unionmap:{debug:ldap:_unused_unionmap_debug} + debug:unionmap:{ldap:_unused_debug_unionmap} + +_unused_baseline_domain = whatever +_unused_debug_domain = whatever +_unused_debugvar_domain = whatever +_unused_debug_proxy_domain = whatever +_unused_proxy_debug_domain = whatever +_unused_pipemap_debug_domain = whatever +_unused_debug_pipemap_domain = whatever +_unused_unionmap_debug_domain = whatever +_unused_debug_unionmap_domain = whatever |
