From: Daan De Meyer Date: Mon, 29 Apr 2024 11:22:13 +0000 (+0200) Subject: TEST-13-NSPAWN: Skip on virtiofs X-Git-Tag: v256-rc2~139^2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=409c8a8ee0fc915dd5f1b72312b1b9ca16c3d812;p=thirdparty%2Fsystemd.git TEST-13-NSPAWN: Skip on virtiofs The rootfs only has 64K UIDs available when booting with virtiofs, whereas the nspawn tests want to use user namespace which require more than 64K UIDs. --- diff --git a/test/units/testsuite-13.sh b/test/units/testsuite-13.sh index 9c2a033aa98..dd7f2746316 100755 --- a/test/units/testsuite-13.sh +++ b/test/units/testsuite-13.sh @@ -3,6 +3,13 @@ set -eux set -o pipefail +FSTYPE="$(stat --file-system --format "%T" /)" + +if [[ "$FSTYPE" == "fuseblk" ]]; then + echo "Root filesystem is virtiofs, skipping" + exit 77 +fi + # shellcheck source=test/units/test-control.sh . "$(dirname "$0")"/test-control.sh