summaryrefslogtreecommitdiffstats
path: root/debian/tests/configcheck
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 21:30:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 21:30:41 +0000
commit8d4fd7bdf10268afed8a998b72c7065b280560a1 (patch)
tree87eb17774906ce58cec372004647554132fdbf45 /debian/tests/configcheck
parentAdding upstream version 3.8.1. (diff)
downloadrspamd-8d4fd7bdf10268afed8a998b72c7065b280560a1.tar.xz
rspamd-8d4fd7bdf10268afed8a998b72c7065b280560a1.zip
Adding debian version 3.8.1-1.debian/3.8.1-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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