]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
github-ci: check for suricata-update example configuration files
authorJason Ish <jason.ish@oisf.net>
Thu, 8 Jun 2023 18:26:53 +0000 (12:26 -0600)
committerVictor Julien <vjulien@oisf.net>
Fri, 9 Jun 2023 08:29:57 +0000 (10:29 +0200)
Check that the Suricata-Update example configuration files are
installed.

.github/workflows/builds.yml

index 1534cf439420ac5b90ac557aa161b63dbdb89ae0..e7a5e2f12cddde15c31e4a922838af0efd94218f 100644 (file)
@@ -270,6 +270,14 @@ jobs:
       - run: make install
       - run: suricatasc -h
       - run: suricata-update -V
+      - name: Check if Suricata-Update example configuration files are installed
+        run: |
+          test -e /usr/local/lib/suricata/python/suricata/update/configs/disable.conf
+          test -e /usr/local/lib/suricata/python/suricata/update/configs/drop.conf
+          test -e /usr/local/lib/suricata/python/suricata/update/configs/enable.conf
+          test -e /usr/local/lib/suricata/python/suricata/update/configs/modify.conf
+          test -e /usr/local/lib/suricata/python/suricata/update/configs/threshold.in
+          test -e /usr/local/lib/suricata/python/suricata/update/configs/update.yaml
 
   almalinux-9-templates:
     name: AlmaLinux 9 Test Templates