tests: Skip composefs test if /var/tmp does not support user xattrs

Otherwise, this test fails on Debian 12 (Linux 6.1) kernels if /var/tmp
is a tmpfs. Some autobuilders put the entire build chroot on a tmpfs,
to speed up builds.

Signed-off-by: Simon McVittie <smcv@debian.org>
This commit is contained in:
Simon McVittie 2024-01-24 13:55:12 +00:00 committed by Simon McVittie
parent 15b64c24ba
commit b42f053db9

View File

@ -24,6 +24,7 @@ if ! ${CMD_PREFIX} ostree --version | grep -q -e '- composefs'; then
exit 0 exit 0
fi fi
skip_without_user_xattrs
setup_test_repository "bare-user" setup_test_repository "bare-user"