This splits the test introduced in
commit
06e05eb0f785 ("libmount: don't pass option "defaults" to helper")
into its own subtest.
We will have more subtests.
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
--- /dev/null
+/sbin/mount.mytest called with "/foo /bar -o rw"
EOF
chmod +x $MOUNTER
+ts_init_subtest "basic"
+$TS_CMD_MOUNT -t mytest /foo /bar &> $TS_OUTPUT
+ts_finalize_subtest
+
+ts_init_subtest "options"
$TS_CMD_MOUNT -t mytest -o foo,defaults /foo /bar &> $TS_OUTPUT
+ts_finalize_subtest
+
rm -f $MOUNTER
ts_finalize