From: Thomas Weißschuh Date: Thu, 25 May 2023 05:22:34 +0000 (+0200) Subject: mount: (tests) test mount helper with multiple filesystems X-Git-Tag: v2.40-rc1~425^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=36d4e61c65b8978fadf71eef6d54d4f312c8af83;p=thirdparty%2Futil-linux.git mount: (tests) test mount helper with multiple filesystems See #2267 Signed-off-by: Thomas Weißschuh --- diff --git a/tests/expected/mount/special-multi-types b/tests/expected/mount/special-multi-types new file mode 100644 index 0000000000..99997d354f --- /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/ts/mount/special b/tests/ts/mount/special index ddb417aa16..90fdd77a30 100755 --- a/tests/ts/mount/special +++ b/tests/ts/mount/special @@ -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