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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user