mirror of
https://github.com/vbatts/go-mtree.git
synced 2024-11-22 08:25:38 +00:00
cli.test: setting xattr requires a value
this early check was not valid as it required a value before it would attempt to set the xattr Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
97e571a55a
commit
b71ad0f21e
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ root="$(dirname $(dirname $(dirname $0)))"
|
||||||
gomtree=$(readlink -f ${root}/gomtree)
|
gomtree=$(readlink -f ${root}/gomtree)
|
||||||
t=$(mktemp -d /tmp/go-mtree.XXXXXX)
|
t=$(mktemp -d /tmp/go-mtree.XXXXXX)
|
||||||
|
|
||||||
setfattr -n user.has_xattrs -v "" "${t}" || exit 0
|
setfattr -n user.has.xattrs -v "true" "${t}" || exit 0
|
||||||
|
|
||||||
echo "[${name}] Running in ${t}"
|
echo "[${name}] Running in ${t}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue