test-xattrs: sync how this is skipped with test-rofiles-fuse
If we touch test-xattrs before sourcing libtest.sh, we get: test tmpdir=/tmp/test-tmp-ostree_test-xattrs.sh.test-HSEXEY is not empty; run this test via `make check TESTS=`, not directly Signed-off-by: Simon McVittie <smcv@debian.org> Closes: #234 Approved by: cgwalters
This commit is contained in:
parent
839628b3fa
commit
9c4babf316
|
|
@ -19,16 +19,12 @@
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
touch test-xattrs
|
. $(dirname $0)/libtest.sh
|
||||||
if ! setfattr -n user.testvalue -v somevalue test-xattrs; then
|
|
||||||
echo "1..0 # SKIP: cannot run setfattr"
|
skip_without_user_xattrs
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "1..2"
|
echo "1..2"
|
||||||
|
|
||||||
. $(dirname $0)/libtest.sh
|
|
||||||
|
|
||||||
setup_test_repository "archive-z2"
|
setup_test_repository "archive-z2"
|
||||||
|
|
||||||
cd ${test_tmpdir}
|
cd ${test_tmpdir}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue