summaryrefslogtreecommitdiffstats
path: root/tests/common/mount.sh
blob: b13b43c3b7e71ee40c49d88c348f19435e05fe06 (plain)
1
2
3
4
5
6
7
8
9
10
11
test "$UNAME" = "Darwin" && skip

clean_scratch
mkdir scratch/{foo,mnt}

bfs_sudo mount -t tmpfs tmpfs scratch/mnt || skip
trap "bfs_sudo umount scratch/mnt" EXIT

"$XTOUCH" scratch/foo/bar scratch/mnt/baz

bfs_diff scratch -mount