]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
mount: (tests) test mount helper with multiple filesystems
authorThomas Weißschuh <thomas@t-8ch.de>
Thu, 25 May 2023 05:22:34 +0000 (07:22 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Thu, 25 May 2023 10:44:19 +0000 (12:44 +0200)
See #2267

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
tests/expected/mount/special-multi-types [new file with mode: 0644]
tests/ts/mount/special

diff --git a/tests/expected/mount/special-multi-types b/tests/expected/mount/special-multi-types
new file mode 100644 (file)
index 0000000..99997d3
--- /dev/null
@@ -0,0 +1 @@
+/sbin/mount.mytest called with "/foo /bar -o rw"
index ddb417aa16f68f3d545de13de1f84a97279a717c..90fdd77a30e3c97d7c96ea3a17d49f5ab1d9f9bb 100755 (executable)
@@ -43,6 +43,10 @@ ts_init_subtest "options"
 $TS_CMD_MOUNT -t mytest -o foo,defaults /foo /bar &> $TS_OUTPUT
 ts_finalize_subtest
 
+ts_init_subtest "multi-types"
+$TS_CMD_MOUNT -t mytest,invalid /foo /bar &> $TS_OUTPUT
+ts_finalize_subtest
+
 rm -f $MOUNTER
 
 ts_finalize