summaryrefslogtreecommitdiffstats
path: root/tests/common
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-07-08 13:15:37 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-07-08 13:15:37 -0400
commit33b85e1f8769e7f75721887638ae454d109a034f (patch)
treeaa4831407cdc1466c4071d0691941b96f81bd2a3 /tests/common
parent0ad75059c70488e9802d716c9e2dc04ad7b1ea5a (diff)
downloadbfs-33b85e1f8769e7f75721887638ae454d109a034f.tar.xz
Implement POSIX 2024's -mount
This reverts commit 4f80c17192f2b28c96a489969d4435151d68d0ce. Link: https://www.austingroupbugs.net/view.php?id=1133
Diffstat (limited to 'tests/common')
-rw-r--r--tests/common/L_mount.out5
-rw-r--r--tests/common/L_mount.sh13
-rw-r--r--tests/common/mount.out4
-rw-r--r--tests/common/mount.sh11
4 files changed, 0 insertions, 33 deletions
diff --git a/tests/common/L_mount.out b/tests/common/L_mount.out
deleted file mode 100644
index 788579d..0000000
--- a/tests/common/L_mount.out
+++ /dev/null
@@ -1,5 +0,0 @@
-.
-./foo
-./foo/bar
-./foo/qux
-./mnt
diff --git a/tests/common/L_mount.sh b/tests/common/L_mount.sh
deleted file mode 100644
index fd8042a..0000000
--- a/tests/common/L_mount.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-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
diff --git a/tests/common/mount.out b/tests/common/mount.out
deleted file mode 100644
index 6253434..0000000
--- a/tests/common/mount.out
+++ /dev/null
@@ -1,4 +0,0 @@
-.
-./foo
-./foo/bar
-./mnt
diff --git a/tests/common/mount.sh b/tests/common/mount.sh
deleted file mode 100644
index c9abde5..0000000
--- a/tests/common/mount.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-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 . -mount