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

clean_scratch
mkdir scratch/{foo,mnt}
sudo mount -t tmpfs tmpfs scratch/mnt

bfs_diff scratch -inum "$(inum scratch/mnt)"
ret=$?

sudo umount scratch/mnt
return $ret