summaryrefslogtreecommitdiffstats
path: root/tests/posix/xdev.sh
blob: 33412bfd5d8b14bf6b24cccc6ca7490b981ab494 (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 -xdev