summaryrefslogtreecommitdiffstats
path: root/tests/posix/unionfs.sh
blob: 0f68a43a6fbe62c60e32f0d1435af21af506397f (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
defer bfs_sudo umount scratch/upper
bfs_diff scratch