1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2025-06-30 21:28:28 +00:00

test/cli: fixup for supporting OSX

This commit is contained in:
Vincent Batts 2018-08-13 21:20:31 -04:00
parent 1bcf4de08f
commit 68a6d43233
12 changed files with 54 additions and 27 deletions

View file

@ -3,10 +3,10 @@ set -e
name=$(basename $0)
root="$(dirname $(dirname $(dirname $0)))"
gomtree=$(readlink -f ${root}/gomtree)
t=$(mktemp -t -d go-mtree.XXXXXX)
gomtree=$(go run ${root}/test/realpath.go ${root}/gomtree)
t=$(mktemp -d -t go-mtree.XXXXXX)
setfattr -n user.has.xattrs -v "true" "${t}" || exit 0
setfattr -n user.has.xattrs -v "true" "${t}" || exit 0
echo "[${name}] Running in ${t}"