summaryrefslogtreecommitdiffstats
path: root/tests/common/inum_bind_mount.sh
blob: 47f7c363369769b6bc288cbec9fea3a3a947303b (plain)
1
2
3
4
5
6
7
8
9
test "$UNAME" = "Linux" || skip

clean_scratch
"$XTOUCH" scratch/{foo,bar}

bfs_sudo mount --bind scratch/{foo,bar} || skip
defer bfs_sudo umount scratch/bar

bfs_diff scratch -inum "$(inum scratch/bar)"