summaryrefslogtreecommitdiffstats
path: root/tests/posix/L_mount.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/posix/L_mount.sh')
-rw-r--r--tests/posix/L_mount.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/posix/L_mount.sh b/tests/posix/L_mount.sh
new file mode 100644
index 0000000..fd8042a
--- /dev/null
+++ b/tests/posix/L_mount.sh
@@ -0,0 +1,13 @@
+test "$UNAME" = "Darwin" && skip
+
+cd "$TEST"
+mkdir foo mnt
+
+bfs_sudo mount -t tmpfs tmpfs mnt || skip
+defer bfs_sudo umount mnt
+
+ln -s ../mnt foo/bar
+"$XTOUCH" mnt/baz
+ln -s ../mnt/baz foo/qux
+
+bfs_diff -L . -mount