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

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

bfs_diff -L scratch -type c
ret=$?

sudo umount scratch/null
return $ret