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

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

bfs_sudo mount --bind /dev/null scratch/null || skip
defer bfs_sudo umount scratch/null

bfs_diff -L scratch -type c