summaryrefslogtreecommitdiffstats
path: root/tests/common/inum_mount.sh
blob: a4832e4ff08b169a95b3946369fb5cbfc0177f6b (plain)
1
2
3
4
5
6
7
8
9
test "$UNAME" = "Darwin" && skip

clean_scratch
mkdir scratch/{foo,mnt}

bfs_sudo mount -t tmpfs tmpfs scratch/mnt || skip
trap "bfs_sudo umount scratch/mnt" EXIT

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