]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Test] Add config test 914/head
authorAndrew Lewis <nerf@judo.za.org>
Tue, 30 Aug 2016 21:08:02 +0000 (23:08 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Tue, 30 Aug 2016 21:19:43 +0000 (23:19 +0200)
test/functional/cases/150_rspamadm.robot [new file with mode: 0644]

diff --git a/test/functional/cases/150_rspamadm.robot b/test/functional/cases/150_rspamadm.robot
new file mode 100644 (file)
index 0000000..bebcb0e
--- /dev/null
@@ -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