From: Jason Ish Date: Thu, 8 Jun 2023 18:26:53 +0000 (-0600) Subject: github-ci: check for suricata-update example configuration files X-Git-Tag: suricata-6.0.13~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b7d4d236b95a0dbc973103eaf20d63240aeccda;p=thirdparty%2Fsuricata.git github-ci: check for suricata-update example configuration files Check that the Suricata-Update example configuration files are installed. (cherry picked from commit 6d7923c80b4ed68b5c25ceeb9615535313cf0b71) --- diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 35c41f4ef7..3b35a3ca86 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -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.