diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-26 06:56:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-26 06:56:22 +0200 |
commit | 87eb2e1e0c8f39d9525c4823f9528bc6ad018dc6 (patch) | |
tree | 757afcbbf771aa3cf4f17fc13415098cf78efa75 /.github/prepare_debian.sh | |
parent | c7de721c4fb575e4f73e7f6f928dcad81cf269a0 (diff) | |
parent | 54162dbaf689d560656e3eb6c3313840ebc0513a (diff) | |
download | monitoring-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.sh | 4 |
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 | ||
3 | set -x | 3 | set -x |
4 | set -e | 4 | set -euo pipefail |
5 | 5 | ||
6 | export DEBIAN_FRONTEND=noninteractive | 6 | export 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 |
129 | for i in $(seq 10); do | 129 | for i in $(seq 10); do |
130 | touch /media/ramdisk2/test.$1 | 130 | touch /media/ramdisk2/test.$i |
131 | done | 131 | done |