From 33b85e1f8769e7f75721887638ae454d109a034f Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 8 Jul 2024 13:15:37 -0400 Subject: Implement POSIX 2024's -mount This reverts commit 4f80c17192f2b28c96a489969d4435151d68d0ce. Link: https://www.austingroupbugs.net/view.php?id=1133 --- tests/posix/L_mount.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/posix/L_mount.sh (limited to 'tests/posix/L_mount.sh') 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 -- cgit v1.2.3