summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorSven Nierlein <sven@nierlein.de>2021-10-25 12:55:50 (GMT)
committerSven Nierlein <sven@nierlein.org>2021-10-25 14:21:59 (GMT)
commita96161c824f7f97830f4aa4daa166013961d55f1 (patch)
tree5d6253ab78fca5a69e4a511b82178e3f20396173 /.github
parent03028d23b6c59bcb4000bc70209593afd798dfe3 (diff)
downloadmonitoring-plugins-a96161c824f7f97830f4aa4daa166013961d55f1.tar.gz
actions: map utmp from host to container
this fixes the check_users not having any logged in user to check.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 512d28e..0f93930 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -35,6 +35,7 @@ jobs:
35 -e NPTEST_CACHE="/src/.github/NPTest.cache" \ 35 -e NPTEST_CACHE="/src/.github/NPTest.cache" \
36 -w /src -v ${PWD}:/src \ 36 -w /src -v ${PWD}:/src \
37 --tmpfs /media/ramdisk1 \ 37 --tmpfs /media/ramdisk1 \
38 -v /var/run/utmp:/var/run/utmp \
38 --mount source=tmp-vol,destination=/src,target=/media/ramdisk2 \ 39 --mount source=tmp-vol,destination=/src,target=/media/ramdisk2 \
39 ${{ matrix.distro }} \ 40 ${{ matrix.distro }} \
40 /bin/sh -c '${{ matrix.prepare }} && \ 41 /bin/sh -c '${{ matrix.prepare }} && \