summaryrefslogtreecommitdiffstats
path: root/tests/expected/mount
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:10:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:10:49 +0000
commitcfe5e3905201349e9cf3f95d52ff4bd100bde37d (patch)
treed0baf160cbee3195249d095f85e52d20c21acf02 /tests/expected/mount
parentInitial commit. (diff)
downloadutil-linux-cfe5e3905201349e9cf3f95d52ff4bd100bde37d.tar.xz
util-linux-cfe5e3905201349e9cf3f95d52ff4bd100bde37d.zip
Adding upstream version 2.39.3.upstream/2.39.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/expected/mount')
-rw-r--r--tests/expected/mount/devname1
-rw-r--r--tests/expected/mount/dm-verity0
-rw-r--r--tests/expected/mount/fallback-mount_setattr1
-rw-r--r--tests/expected/mount/fslists1
-rw-r--r--tests/expected/mount/fslists-more-types1
-rw-r--r--tests/expected/mount/fslists-more-types-fstab1
-rw-r--r--tests/expected/mount/fslists-one-type1
-rw-r--r--tests/expected/mount/fslists-type-pattern1
-rw-r--r--tests/expected/mount/fslists-type-pattern-neg1
-rw-r--r--tests/expected/mount/fstab-all5
-rw-r--r--tests/expected/mount/fstab-bind1
-rw-r--r--tests/expected/mount/fstab-broken1
-rw-r--r--tests/expected/mount/fstab-broken-mount1
-rw-r--r--tests/expected/mount/fstab-broken-mount-all1
-rw-r--r--tests/expected/mount/fstab-btrfs-auto1
-rw-r--r--tests/expected/mount/fstab-btrfs-btrfs1
-rw-r--r--tests/expected/mount/fstab-devname0
-rw-r--r--tests/expected/mount/fstab-devname2label1
-rw-r--r--tests/expected/mount/fstab-devname2uuid1
-rw-r--r--tests/expected/mount/fstab-label0
-rw-r--r--tests/expected/mount/fstab-label2devname0
-rw-r--r--tests/expected/mount/fstab-label2uuid0
-rw-r--r--tests/expected/mount/fstab-loop1
-rw-r--r--tests/expected/mount/fstab-none1
-rw-r--r--tests/expected/mount/fstab-symlink1
-rw-r--r--tests/expected/mount/fstab-uuid0
-rw-r--r--tests/expected/mount/fstab-uuid2devname0
-rw-r--r--tests/expected/mount/fstab-uuid2label0
-rw-r--r--tests/expected/mount/label0
-rw-r--r--tests/expected/mount/move1
-rw-r--r--tests/expected/mount/regfile1
-rw-r--r--tests/expected/mount/remount1
-rw-r--r--tests/expected/mount/rlimit1
-rw-r--r--tests/expected/mount/rlimit-mount1
-rw-r--r--tests/expected/mount/rlimit-umount1
-rw-r--r--tests/expected/mount/set_ugid_mode1
-rw-r--r--tests/expected/mount/shared-subtree1
-rw-r--r--tests/expected/mount/shared-subtree-bind-shared1
-rw-r--r--tests/expected/mount/shared-subtree-make-private1
-rw-r--r--tests/expected/mount/shared-subtree-make-shared1
-rw-r--r--tests/expected/mount/shared-subtree-make-unbindable1
-rw-r--r--tests/expected/mount/shared-subtree-mount-private1
-rw-r--r--tests/expected/mount/shared-subtree-mount-private-ro2
-rw-r--r--tests/expected/mount/special0
-rw-r--r--tests/expected/mount/special-basic1
-rw-r--r--tests/expected/mount/special-multi-types1
-rw-r--r--tests/expected/mount/special-options1
-rw-r--r--tests/expected/mount/special-user1
-rw-r--r--tests/expected/mount/special-username1
-rw-r--r--tests/expected/mount/umount-alltargets6
-rw-r--r--tests/expected/mount/umount-alltargets-all-targets-dev3
-rw-r--r--tests/expected/mount/umount-alltargets-all-targets-mnt3
-rw-r--r--tests/expected/mount/umount-alltargets-all-targets-recursive3
-rw-r--r--tests/expected/mount/umount-recursive15
-rw-r--r--tests/expected/mount/uuid0
55 files changed, 74 insertions, 0 deletions
diff --git a/tests/expected/mount/devname b/tests/expected/mount/devname
new file mode 100644
index 0000000..3582111
--- /dev/null
+++ b/tests/expected/mount/devname
@@ -0,0 +1 @@
+Success
diff --git a/tests/expected/mount/dm-verity b/tests/expected/mount/dm-verity
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/mount/dm-verity
diff --git a/tests/expected/mount/fallback-mount_setattr b/tests/expected/mount/fallback-mount_setattr
new file mode 100644
index 0000000..3e18ebf
--- /dev/null
+++ b/tests/expected/mount/fallback-mount_setattr
@@ -0,0 +1 @@
+private
diff --git a/tests/expected/mount/fslists b/tests/expected/mount/fslists
new file mode 100644
index 0000000..3582111
--- /dev/null
+++ b/tests/expected/mount/fslists
@@ -0,0 +1 @@
+Success
diff --git a/tests/expected/mount/fslists-more-types b/tests/expected/mount/fslists-more-types
new file mode 100644
index 0000000..3582111
--- /dev/null
+++ b/tests/expected/mount/fslists-more-types
@@ -0,0 +1 @@
+Success
diff --git a/tests/expected/mount/fslists-more-types-fstab b/tests/expected/mount/fslists-more-types-fstab
new file mode 100644
index 0000000..3582111
--- /dev/null
+++ b/tests/expected/mount/fslists-more-types-fstab
@@ -0,0 +1 @@
+Success
diff --git a/tests/expected/mount/fslists-one-type b/tests/expected/mount/fslists-one-type
new file mode 100644
index 0000000..3582111
--- /dev/null
+++ b/tests/expected/mount/fslists-one-type
@@ -0,0 +1 @@
+Success
diff --git a/tests/expected/mount/fslists-type-pattern b/tests/expected/mount/fslists-type-pattern
new file mode 100644
index 0000000..3582111
--- /dev/null
+++ b/tests/expected/mount/fslists-type-pattern
@@ -0,0 +1 @@
+Success
diff --git a/tests/expected/mount/fslists-type-pattern-neg b/tests/expected/mount/fslists-type-pattern-neg
new file mode 100644
index 0000000..3582111
--- /dev/null
+++ b/tests/expected/mount/fslists-type-pattern-neg
@@ -0,0 +1 @@
+Success
diff --git a/tests/expected/mount/fstab-all b/tests/expected/mount/fstab-all
new file mode 100644
index 0000000..bf27627
--- /dev/null
+++ b/tests/expected/mount/fstab-all
@@ -0,0 +1,5 @@
+Create partitions
+Create filesystem A
+Create filesystem B
+Create filesystem C
+Create filesystem D
diff --git a/tests/expected/mount/fstab-bind b/tests/expected/mount/fstab-bind
new file mode 100644
index 0000000..3582111
--- /dev/null
+++ b/tests/expected/mount/fstab-bind
@@ -0,0 +1 @@
+Success
diff --git a/tests/expected/mount/fstab-broken b/tests/expected/mount/fstab-broken
new file mode 100644
index 0000000..3582111
--- /dev/null
+++ b/tests/expected/mount/fstab-broken
@@ -0,0 +1 @@
+Success
diff --git a/tests/expected/mount/fstab-broken-mount b/tests/expected/mount/fstab-broken-mount
new file mode 100644
index 0000000..d86bac9
--- /dev/null
+++ b/tests/expected/mount/fstab-broken-mount
@@ -0,0 +1 @@
+OK
diff --git a/tests/expected/mount/fstab-broken-mount-all b/tests/expected/mount/fstab-broken-mount-all
new file mode 100644
index 0000000..d86bac9
--- /dev/null
+++ b/tests/expected/mount/fstab-broken-mount-all
@@ -0,0 +1 @@
+OK
diff --git a/tests/expected/mount/fstab-btrfs-auto b/tests/expected/mount/fstab-btrfs-auto
new file mode 100644
index 0000000..3582111
--- /dev/null
+++ b/tests/expected/mount/fstab-btrfs-auto
@@ -0,0 +1 @@
+Success
diff --git a/tests/expected/mount/fstab-btrfs-btrfs b/tests/expected/mount/fstab-btrfs-btrfs
new file mode 100644
index 0000000..3582111
--- /dev/null
+++ b/tests/expected/mount/fstab-btrfs-btrfs
@@ -0,0 +1 @@
+Success
diff --git a/tests/expected/mount/fstab-devname b/tests/expected/mount/fstab-devname
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/mount/fstab-devname
diff --git a/tests/expected/mount/fstab-devname2label b/tests/expected/mount/fstab-devname2label
new file mode 100644
index 0000000..3582111
--- /dev/null
+++ b/tests/expected/mount/fstab-devname2label
@@ -0,0 +1 @@
+Success
diff --git a/tests/expected/mount/fstab-devname2uuid b/tests/expected/mount/fstab-devname2uuid
new file mode 100644
index 0000000..3582111
--- /dev/null
+++ b/tests/expected/mount/fstab-devname2uuid
@@ -0,0 +1 @@
+Success
diff --git a/tests/expected/mount/fstab-label b/tests/expected/mount/fstab-label
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/mount/fstab-label
diff --git a/tests/expected/mount/fstab-label2devname b/tests/expected/mount/fstab-label2devname
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/mount/fstab-label2devname
diff --git a/tests/expected/mount/fstab-label2uuid b/tests/expected/mount/fstab-label2uuid
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/mount/fstab-label2uuid
diff --git a/tests/expected/mount/fstab-loop b/tests/expected/mount/fstab-loop
new file mode 100644
index 0000000..3582111
--- /dev/null
+++ b/tests/expected/mount/fstab-loop
@@ -0,0 +1 @@
+Success
diff --git a/tests/expected/mount/fstab-none b/tests/expected/mount/fstab-none
new file mode 100644
index 0000000..3582111
--- /dev/null
+++ b/tests/expected/mount/fstab-none
@@ -0,0 +1 @@
+Success
diff --git a/tests/expected/mount/fstab-symlink b/tests/expected/mount/fstab-symlink
new file mode 100644
index 0000000..3582111
--- /dev/null
+++ b/tests/expected/mount/fstab-symlink
@@ -0,0 +1 @@
+Success
diff --git a/tests/expected/mount/fstab-uuid b/tests/expected/mount/fstab-uuid
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/mount/fstab-uuid
diff --git a/tests/expected/mount/fstab-uuid2devname b/tests/expected/mount/fstab-uuid2devname
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/mount/fstab-uuid2devname
diff --git a/tests/expected/mount/fstab-uuid2label b/tests/expected/mount/fstab-uuid2label
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/mount/fstab-uuid2label
diff --git a/tests/expected/mount/label b/tests/expected/mount/label
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/mount/label
diff --git a/tests/expected/mount/move b/tests/expected/mount/move
new file mode 100644
index 0000000..3582111
--- /dev/null
+++ b/tests/expected/mount/move
@@ -0,0 +1 @@
+Success
diff --git a/tests/expected/mount/regfile b/tests/expected/mount/regfile
new file mode 100644
index 0000000..3582111
--- /dev/null
+++ b/tests/expected/mount/regfile
@@ -0,0 +1 @@
+Success
diff --git a/tests/expected/mount/remount b/tests/expected/mount/remount
new file mode 100644
index 0000000..3582111
--- /dev/null
+++ b/tests/expected/mount/remount
@@ -0,0 +1 @@
+Success
diff --git a/tests/expected/mount/rlimit b/tests/expected/mount/rlimit
new file mode 100644
index 0000000..3582111
--- /dev/null
+++ b/tests/expected/mount/rlimit
@@ -0,0 +1 @@
+Success
diff --git a/tests/expected/mount/rlimit-mount b/tests/expected/mount/rlimit-mount
new file mode 100644
index 0000000..85e2e12
--- /dev/null
+++ b/tests/expected/mount/rlimit-mount
@@ -0,0 +1 @@
+OK: mtab unmodified by mount
diff --git a/tests/expected/mount/rlimit-umount b/tests/expected/mount/rlimit-umount
new file mode 100644
index 0000000..193a8ee
--- /dev/null
+++ b/tests/expected/mount/rlimit-umount
@@ -0,0 +1 @@
+OK: mtab unmodified by umount
diff --git a/tests/expected/mount/set_ugid_mode b/tests/expected/mount/set_ugid_mode
new file mode 100644
index 0000000..3582111
--- /dev/null
+++ b/tests/expected/mount/set_ugid_mode
@@ -0,0 +1 @@
+Success
diff --git a/tests/expected/mount/shared-subtree b/tests/expected/mount/shared-subtree
new file mode 100644
index 0000000..3582111
--- /dev/null
+++ b/tests/expected/mount/shared-subtree
@@ -0,0 +1 @@
+Success
diff --git a/tests/expected/mount/shared-subtree-bind-shared b/tests/expected/mount/shared-subtree-bind-shared
new file mode 100644
index 0000000..8a205e8
--- /dev/null
+++ b/tests/expected/mount/shared-subtree-bind-shared
@@ -0,0 +1 @@
+shared
diff --git a/tests/expected/mount/shared-subtree-make-private b/tests/expected/mount/shared-subtree-make-private
new file mode 100644
index 0000000..3e18ebf
--- /dev/null
+++ b/tests/expected/mount/shared-subtree-make-private
@@ -0,0 +1 @@
+private
diff --git a/tests/expected/mount/shared-subtree-make-shared b/tests/expected/mount/shared-subtree-make-shared
new file mode 100644
index 0000000..8a205e8
--- /dev/null
+++ b/tests/expected/mount/shared-subtree-make-shared
@@ -0,0 +1 @@
+shared
diff --git a/tests/expected/mount/shared-subtree-make-unbindable b/tests/expected/mount/shared-subtree-make-unbindable
new file mode 100644
index 0000000..17f662a
--- /dev/null
+++ b/tests/expected/mount/shared-subtree-make-unbindable
@@ -0,0 +1 @@
+private,unbindable
diff --git a/tests/expected/mount/shared-subtree-mount-private b/tests/expected/mount/shared-subtree-mount-private
new file mode 100644
index 0000000..17f662a
--- /dev/null
+++ b/tests/expected/mount/shared-subtree-mount-private
@@ -0,0 +1 @@
+private,unbindable
diff --git a/tests/expected/mount/shared-subtree-mount-private-ro b/tests/expected/mount/shared-subtree-mount-private-ro
new file mode 100644
index 0000000..f5c8c27
--- /dev/null
+++ b/tests/expected/mount/shared-subtree-mount-private-ro
@@ -0,0 +1,2 @@
+private
+ro,relatime
diff --git a/tests/expected/mount/special b/tests/expected/mount/special
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/mount/special
diff --git a/tests/expected/mount/special-basic b/tests/expected/mount/special-basic
new file mode 100644
index 0000000..99997d3
--- /dev/null
+++ b/tests/expected/mount/special-basic
@@ -0,0 +1 @@
+/sbin/mount.mytest called with "/foo /bar -o rw"
diff --git a/tests/expected/mount/special-multi-types b/tests/expected/mount/special-multi-types
new file mode 100644
index 0000000..99997d3
--- /dev/null
+++ b/tests/expected/mount/special-multi-types
@@ -0,0 +1 @@
+/sbin/mount.mytest called with "/foo /bar -o rw"
diff --git a/tests/expected/mount/special-options b/tests/expected/mount/special-options
new file mode 100644
index 0000000..820a74a
--- /dev/null
+++ b/tests/expected/mount/special-options
@@ -0,0 +1 @@
+/sbin/mount.mytest called with "/foo /bar -o rw,foo"
diff --git a/tests/expected/mount/special-user b/tests/expected/mount/special-user
new file mode 100644
index 0000000..02c112e
--- /dev/null
+++ b/tests/expected/mount/special-user
@@ -0,0 +1 @@
+/sbin/mount.mytest called with "/foo /bar -o rw,user,noexec,nosuid,nodev,abc"
diff --git a/tests/expected/mount/special-username b/tests/expected/mount/special-username
new file mode 100644
index 0000000..c192562
--- /dev/null
+++ b/tests/expected/mount/special-username
@@ -0,0 +1 @@
+/sbin/mount.mytest called with "/foo /bar -o rw,user=name,abc"
diff --git a/tests/expected/mount/umount-alltargets b/tests/expected/mount/umount-alltargets
new file mode 100644
index 0000000..a0e4679
--- /dev/null
+++ b/tests/expected/mount/umount-alltargets
@@ -0,0 +1,6 @@
+Create partitions
+Create filesystem A
+Create filesystem B
+Create filesystem C
+Create filesystem D
+Success
diff --git a/tests/expected/mount/umount-alltargets-all-targets-dev b/tests/expected/mount/umount-alltargets-all-targets-dev
new file mode 100644
index 0000000..7d6f888
--- /dev/null
+++ b/tests/expected/mount/umount-alltargets-all-targets-dev
@@ -0,0 +1,3 @@
+prepare: Mount dev to mnt1
+prepare: Mount dev to mnt2
+prepare: Mount /dev/xxx1 to mnt3
diff --git a/tests/expected/mount/umount-alltargets-all-targets-mnt b/tests/expected/mount/umount-alltargets-all-targets-mnt
new file mode 100644
index 0000000..7d6f888
--- /dev/null
+++ b/tests/expected/mount/umount-alltargets-all-targets-mnt
@@ -0,0 +1,3 @@
+prepare: Mount dev to mnt1
+prepare: Mount dev to mnt2
+prepare: Mount /dev/xxx1 to mnt3
diff --git a/tests/expected/mount/umount-alltargets-all-targets-recursive b/tests/expected/mount/umount-alltargets-all-targets-recursive
new file mode 100644
index 0000000..7d6f888
--- /dev/null
+++ b/tests/expected/mount/umount-alltargets-all-targets-recursive
@@ -0,0 +1,3 @@
+prepare: Mount dev to mnt1
+prepare: Mount dev to mnt2
+prepare: Mount /dev/xxx1 to mnt3
diff --git a/tests/expected/mount/umount-recursive b/tests/expected/mount/umount-recursive
new file mode 100644
index 0000000..0785521
--- /dev/null
+++ b/tests/expected/mount/umount-recursive
@@ -0,0 +1,15 @@
+Init device
+Create partitions
+Create filesystem A
+Create filesystem B
+Create filesystem C
+Create filesystem D
+Do tests...
+A) Mount root
+B) Mount child
+B2) Mount child-bind
+C) Mount child/child
+D) Mount child/child
+E) Mount child-bind
+F) Mount mountpoint-bind
+Success
diff --git a/tests/expected/mount/uuid b/tests/expected/mount/uuid
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/mount/uuid