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

clean_scratch
"$XTOUCH" scratch/{file,null}

sudo mount --bind /dev/null scratch/null
trap "sudo umount scratch/null" EXIT

bfs_diff scratch -type c