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

cd "$TEST"
"$XTOUCH" foo bar baz

bfs_sudo mount --bind foo bar || skip
defer bfs_sudo umount bar

bfs_diff . -inum "$(inum bar)"