summaryrefslogtreecommitdiffstats
path: root/tests/posix/type_bind_mount.sh
blob: e05baa3bf5222c773416456a97b7c5c5b3ea780d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
skip_unless test "$SUDO"
skip_unless test "$UNAME" = "Linux"

clean_scratch
$TOUCH scratch/{file,null}
sudo mount --bind /dev/null scratch/null

bfs_diff scratch -type c
ret=$?

sudo umount scratch/null
return $ret