[monitoring-plugins] Add sanity options to test prepare scripts

RincewindsHat git at monitoring-plugins.org
Sat Oct 26 07:00:13 CEST 2024


 Module: monitoring-plugins
 Branch: master
 Commit: 903773eb9c3cc2079187dc99c7b48662148ff679
 Author: RincewindsHat <12514511+RincewindsHat at users.noreply.github.com>
   Date: Fri Oct 25 12:02:14 2024 +0200
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=903773e

Add sanity options to test prepare scripts

---

 .github/mock.sh           | 2 ++
 .github/prepare_debian.sh | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/mock.sh b/.github/mock.sh
index 7fbe690..8da147e 100755
--- a/.github/mock.sh
+++ b/.github/mock.sh
@@ -2,6 +2,8 @@
 
 set -x
 
+set -euo pipefail
+
 export DEBIAN_FRONTEND=noninteractive
 
 BASE_PATH="/src"
diff --git a/.github/prepare_debian.sh b/.github/prepare_debian.sh
index 3f4674a..c38d241 100755
--- a/.github/prepare_debian.sh
+++ b/.github/prepare_debian.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 set -x
-set -e
+set -euo pipefail
 
 export DEBIAN_FRONTEND=noninteractive
 



More information about the Commits mailing list