]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
github-ci: check for suricata-update example configuration files 9024/head
authorJason Ish <jason.ish@oisf.net>
Thu, 8 Jun 2023 18:26:53 +0000 (12:26 -0600)
committerJason Ish <jason.ish@oisf.net>
Tue, 13 Jun 2023 21:22:21 +0000 (15:22 -0600)
Check that the Suricata-Update example configuration files are
installed.

(cherry picked from commit 6d7923c80b4ed68b5c25ceeb9615535313cf0b71)

.github/workflows/builds.yml

index 35c41f4ef7f03c34453e0d1e6d51f2dea239e485..3b35a3ca86fc8cb1d72fbc0c0a36ee5758549d05 100644 (file)
@@ -233,6 +233,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
 
   # This build also creates the distribution package that some other builds
   # depend on.