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