From 409c8a8ee0fc915dd5f1b72312b1b9ca16c3d812 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Mon, 29 Apr 2024 13:22:13 +0200 Subject: [PATCH] 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. --- test/units/testsuite-13.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/units/testsuite-13.sh b/test/units/testsuite-13.sh index 9c2a033aa9..dd7f274631 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 -- 2.25.1