summaryrefslogtreecommitdiffstats
path: root/test/functional
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-08-30 23:08:02 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-08-30 23:19:43 +0200
commit7bddfa9b88230dcc55d15d28a0dc585dcb428006 (patch)
tree64184b75ac797914ed1750eea6b8d259a43c59e9 /test/functional
parent29a701bbd03931a9d5cff1e75927b9171371227d (diff)
downloadrspamd-7bddfa9b88230dcc55d15d28a0dc585dcb428006.tar.gz
rspamd-7bddfa9b88230dcc55d15d28a0dc585dcb428006.zip
[Test] Add config test
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/cases/150_rspamadm.robot9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/functional/cases/150_rspamadm.robot b/test/functional/cases/150_rspamadm.robot
new file mode 100644
index 000000000..bebcb0e0e
--- /dev/null
+++ b/test/functional/cases/150_rspamadm.robot
@@ -0,0 +1,9 @@
+*** Settings ***
+Library Process
+
+*** Test Cases ***
+Config Test
+ ${result} = Run Process ${RSPAMADM} configtest
+ Should Match Regexp ${result.stderr} ^$
+ Should Match Regexp ${result.stdout} ^syntax OK$
+ Should Be Equal As Integers ${result.rc} 0