summaryrefslogtreecommitdiffstats
path: root/tests/posix/L_xdev.sh
blob: d16c211b5f5f3e7ca95e442c43f69895bcf7d94e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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

ln -s ../mnt scratch/foo/bar
"$XTOUCH" scratch/mnt/baz
ln -s ../mnt/baz scratch/foo/qux

bfs_diff -L scratch -xdev