summaryrefslogtreecommitdiffstats
path: root/tests/common/inum_bind_mount.sh
blob: ecb4ec3a7002485015332669820c4fb84ae5a9ef (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
trap "bfs_sudo umount scratch/bar" EXIT

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