mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-09 01:18:35 +03:00
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
|
||||
|
||||
touch test-xattrs
|
||||
if ! setfattr -n user.testvalue -v somevalue test-xattrs; then
|
||||
echo "1..0 # SKIP: cannot run setfattr"
|
||||
exit 0
|
||||
fi
|
||||
. $(dirname $0)/libtest.sh
|
||||
|
||||
skip_without_user_xattrs
|
||||
|
||||
echo "1..2"
|
||||
|
||||
. $(dirname $0)/libtest.sh
|
||||
|
||||
setup_test_repository "archive-z2"
|
||||
|
||||
cd ${test_tmpdir}
|
||||
|
Loading…
Reference in New Issue
Block a user