summaryrefslogtreecommitdiffstats
path: root/.github/prepare_debian.sh
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2024-10-26 06:56:22 +0200
committerGitHub <noreply@github.com>2024-10-26 06:56:22 +0200
commit87eb2e1e0c8f39d9525c4823f9528bc6ad018dc6 (patch)
tree757afcbbf771aa3cf4f17fc13415098cf78efa75 /.github/prepare_debian.sh
parentc7de721c4fb575e4f73e7f6f928dcad81cf269a0 (diff)
parent54162dbaf689d560656e3eb6c3313840ebc0513a (diff)
downloadmonitoring-plugins-87eb2e1.tar.gz
Merge pull request #2031 from RincewindsHat/fix/test_improvements
Improve readability and reliability of test prepare scripts
Diffstat (limited to '.github/prepare_debian.sh')
-rwxr-xr-x.github/prepare_debian.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/prepare_debian.sh b/.github/prepare_debian.sh
index 3f4674a2..3640e500 100755
--- a/.github/prepare_debian.sh
+++ b/.github/prepare_debian.sh
@@ -1,7 +1,7 @@
1#!/bin/bash 1#!/bin/bash
2 2
3set -x 3set -x
4set -e 4set -euo pipefail
5 5
6export DEBIAN_FRONTEND=noninteractive 6export DEBIAN_FRONTEND=noninteractive
7 7
@@ -127,5 +127,5 @@ sed "/NP_HOST_TLS_CERT/s/.*/'NP_HOST_TLS_CERT' => '$(hostname)',/" -i /src/.gith
127 127
128# create some test files to lower inodes 128# create some test files to lower inodes
129for i in $(seq 10); do 129for i in $(seq 10); do
130 touch /media/ramdisk2/test.$1 130 touch /media/ramdisk2/test.$i
131done 131done