summaryrefslogtreecommitdiffstats
path: root/tests/posix/unionfs.sh
blob: 88a549fec77e970192e5c8ba665fc1ac1b434285 (plain)
1
2
3
4
5
6
[[ "$UNAME" == *BSD* ]] || skip
clean_scratch
"$XTOUCH" -p scratch/{lower/{foo,bar,baz},upper/{bar,baz/qux}}
bfs_sudo mount -t unionfs -o below scratch/{lower,upper} || skip
trap "bfs_sudo umount scratch/upper" EXIT
bfs_diff scratch