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.
This commit is contained in:
Daan De Meyer 2024-04-29 13:22:13 +02:00
parent 3630f5aaf8
commit 409c8a8ee0

View file

@ -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