Mercurial > irccd
annotate tests/data/irccd-rules.conf @ 665:7ed23c858694
Tests: test irccdctl (rule-* commands) #785
While here, fix rule-edit which were triggering invalid_index because it was not
added to the request.
Also fix missing events from configuration file because they were forgotten.
Finally, use std::set instead of std::unordered_set for a sorted output in
rule-list and rule-info to ensure long-term compatibility in output.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 29 Mar 2018 20:01:02 +0200 |
parents | |
children |
rev | line source |
---|---|
665
7ed23c858694
Tests: test irccdctl (rule-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
1 [transport] |
7ed23c858694
Tests: test irccdctl (rule-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
2 type = "unix" |
7ed23c858694
Tests: test irccdctl (rule-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
3 path = "@CMAKE_BINARY_DIR@/tmp/irccd.sock" |
7ed23c858694
Tests: test irccdctl (rule-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
4 |
7ed23c858694
Tests: test irccdctl (rule-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
5 [rule] |
7ed23c858694
Tests: test irccdctl (rule-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
6 servers = ( "s1", "s2" ) |
7ed23c858694
Tests: test irccdctl (rule-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
7 channels = ( "c1", "c2" ) |
7ed23c858694
Tests: test irccdctl (rule-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
8 plugins = ( "p1", "p2" ) |
7ed23c858694
Tests: test irccdctl (rule-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
9 events = ( "onCommand", "onMessage" ) |
7ed23c858694
Tests: test irccdctl (rule-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
10 action = "drop" |
7ed23c858694
Tests: test irccdctl (rule-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
11 |
7ed23c858694
Tests: test irccdctl (rule-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
12 # vim: ft=cfg: |