forked from Mirrors/flatpak-builder
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.tingping/wmclass
parent
f8ae525ce8
commit
759bfaa0f4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue