tests: Skip composefs test if /var/tmp does not support user xattrs
authorSimon McVittie <smcv@debian.org>
Wed, 24 Jan 2024 13:55:12 +0000 (13:55 +0000)
committerSimon McVittie <smcv@collabora.com>
Wed, 24 Jan 2024 14:03:18 +0000 (14:03 +0000)
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>
tests/test-composefs.sh

index 4b919734be69a534bc49ed18ceb1770f8d106260..d05579f5f72b3c0df8eae3f3101e8a8f94959f1d 100755 (executable)
@@ -24,6 +24,7 @@ if ! ${CMD_PREFIX} ostree --version | grep -q -e '- composefs'; then
     exit 0
 fi
 
+skip_without_user_xattrs
 
 setup_test_repository "bare-user"