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

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

bfs_diff scratch -type c
ret=$?

sudo umount scratch/null
return $ret