]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Add missing config for config API test
authorTerry Wilson <twilson@digium.com>
Fri, 1 Jun 2012 18:20:44 +0000 (18:20 +0000)
committerTerry Wilson <twilson@digium.com>
Fri, 1 Jun 2012 18:20:44 +0000 (18:20 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@368221 65c4cc65-6c06-0410-ace0-fbb531ad65f3

configs/config_test.conf.sample [new file with mode: 0644]

diff --git a/configs/config_test.conf.sample b/configs/config_test.conf.sample
new file mode 100644 (file)
index 0000000..f03291c
--- /dev/null
@@ -0,0 +1,32 @@
+; Config to test config parsing
+; global and item have values that differ from defaults
+; global_defaults and item_defualts are to show all defaults are set
+; there should be an option for every default type, and a custom type
+
+[global]
+intopt=-1
+uintopt=1
+doubleopt=0.1
+sockaddropt=1.2.3.4:1234
+boolopt=true
+acldenyopt=0.0.0.0/0
+aclpermitopt=1.2.3.4/32
+codecopt=!all,ulaw,g729
+stropt=test
+customopt=yes
+
+[global_defaults]
+
+[item]
+intopt=-1
+uintopt=1
+doubleopt=0.1
+sockaddropt=1.2.3.4:1234
+boolopt=true
+acldenyopt=0.0.0.0/0
+aclpermitopt=1.2.3.4/32
+codecopt=!all,ulaw,g729
+stropt=test
+customopt=yes
+
+[item_defaults]