summaryrefslogtreecommitdiffstats
path: root/tests/posix/unionfs.sh
blob: 94d39299e2d6b42f2880784602b2adcef52e8e09 (plain)
1
2
3
4
5
6
7
8
9
[[ "$UNAME" == *BSD* ]] || skip

cd "$TEST"
"$XTOUCH" -p lower/{foo,bar,baz} upper/{bar,baz/qux}

bfs_sudo mount -t unionfs -o below lower upper || skip
defer bfs_sudo umount upper

bfs_diff .