diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-10-11 15:16:07 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-10-11 15:16:07 +0100 |
commit | 03a70b9d49723c72525a0ab8f2494095027a95a6 (patch) | |
tree | a7522d7bd08fb603ae029da8bce0dc63adb5f088 /test | |
parent | 18a92d54fe3f3802ee7019d8fc201a4c8fc10e6c (diff) | |
download | rspamd-03a70b9d49723c72525a0ab8f2494095027a95a6.tar.gz rspamd-03a70b9d49723c72525a0ab8f2494095027a95a6.zip |
Fix rcl parser.
Diffstat (limited to 'test')
-rw-r--r-- | test/rspamd_rcl_test.c | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/test/rspamd_rcl_test.c b/test/rspamd_rcl_test.c index fabfea29e..9d8399baf 100644 --- a/test/rspamd_rcl_test.c +++ b/test/rspamd_rcl_test.c @@ -50,7 +50,34 @@ const gchar *rcl_test_valid[] = { "key3 = 111some," "key4: s1," "\"key5\": \"\\n\\r123\"", - /* Macros */ + "" + "#packagesite http//pkg.freebsd.org/freebsd-9-amd64/latest\n" + "#packagesite http//pkg.freebsd.org/freebsd-9-amd64/latest\n" + "ALIAS : {\n" + " all-depends: query %dn-%dv,\n" + " annotations: info -A,\n" + " build-depends: info -qd,\n" + " download: fetch,\n" + " iinfo: info -i -g -x,\n" + " isearch: search -i -g -x,\n" + " leaf: query -e '%a == 0' '%n-%v',\n" + " leaf: query -e '%a == 0' '%n-%v',\n" + " list: info -ql,\n" + " origin: info -qo,\n" + " provided-depends: info -qb,\n" + " raw: info -R,\n" + " required-depends: info -qr,\n" + " shared-depends: info -qB,\n" + " show: info -f -k,\n" + " size: info -sq,\n" + " }\n" + "\n" + "repo_dirs : [\n" + " /home/bapt,\n" + " /usr/local/etc\n" + "]\n" + "", + /* Macros */ "section1 {key = value; section {\n" "param = \"value\";\n" "param2 = value\n" |