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