mirror of
https://github.com/flatpak/flatpak.git
synced 2026-06-19 14:03:46 -04:00
tests: Only skip tests if no xattrs in /var/tmp
We explicitly put the checkouts in /var/tmp to avoid the common case of /tmp being tmpfs and not supporting xattrs.
This commit is contained in:
@@ -197,8 +197,8 @@ run_sh () {
|
||||
}
|
||||
|
||||
skip_without_user_xattrs () {
|
||||
touch test-xattrs
|
||||
if ! setfattr -n user.testvalue -v somevalue test-xattrs; then
|
||||
touch ${TEST_DATA_DIR}/test-xattrs
|
||||
if ! setfattr -n user.testvalue -v somevalue ${TEST_DATA_DIR}/test-xattrs; then
|
||||
echo "1..0 # SKIP this test requires xattr support"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user