summaryrefslogtreecommitdiffstats
path: root/tests/gnu/xtype_bind_mount.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gnu/xtype_bind_mount.sh')
-rw-r--r--tests/gnu/xtype_bind_mount.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/gnu/xtype_bind_mount.sh b/tests/gnu/xtype_bind_mount.sh
new file mode 100644
index 0000000..35fb3f5
--- /dev/null
+++ b/tests/gnu/xtype_bind_mount.sh
@@ -0,0 +1,10 @@
+test "$UNAME" = "Linux" || skip
+
+cd "$TEST"
+"$XTOUCH" file null
+ln -s /dev/null link
+
+bfs_sudo mount --bind /dev/null null || skip
+defer bfs_sudo umount null
+
+bfs_diff . -xtype c