summaryrefslogtreecommitdiffstats
path: root/tests/common/mount.sh
blob: db8b801332c9a8484c0d437c6077116b7884e6a5 (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
defer bfs_sudo umount scratch/mnt

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

bfs_diff scratch -mount