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:
Vincent Batts 2017-01-20 11:16:38 -05:00
parent 97e571a55a
commit b71ad0f21e
Signed by: vbatts
GPG Key ID: 10937E57733F1362
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ root="$(dirname $(dirname $(dirname $0)))"
gomtree=$(readlink -f ${root}/gomtree)
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}"