From: Andrew Lewis Date: Tue, 30 Aug 2016 21:08:02 +0000 (+0200) Subject: [Test] Add config test X-Git-Tag: 1.4.0~518^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F914%2Fhead;p=thirdparty%2Frspamd.git [Test] Add config test --- diff --git a/test/functional/cases/150_rspamadm.robot b/test/functional/cases/150_rspamadm.robot new file mode 100644 index 0000000000..bebcb0e0ed --- /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