summaryrefslogtreecommitdiffstats
path: root/debian/tests/configcheck
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/configcheck')
-rwxr-xr-xdebian/tests/configcheck11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/tests/configcheck b/debian/tests/configcheck
new file mode 100755
index 0000000..43151f2
--- /dev/null
+++ b/debian/tests/configcheck
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -eu
+
+# rspamadm configtest is flaky on arm64/ppc64el
+# see https://github.com/rspamd/rspamd/issues/3376
+# only run on amd64
+if [ "x$(dpkg --print-architecture)" = "xamd64" ]; then
+ echo "+ rspamadm configtest --strict --config /etc/rspamd/rspamd.conf"
+ rspamadm configtest --strict --config /etc/rspamd/rspamd.conf
+fi