]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: add user and user=name mount test
authorKarel Zak <kzak@redhat.com>
Mon, 19 Jun 2023 11:45:06 +0000 (13:45 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 19 Jun 2023 11:45:06 +0000 (13:45 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/ts/mount/special

index 90fdd77a30e3c97d7c96ea3a17d49f5ab1d9f9bb..359d8aaca798523c9b16f2aa75b375c6a71d701d 100755 (executable)
@@ -47,6 +47,14 @@ ts_init_subtest "multi-types"
 $TS_CMD_MOUNT -t mytest,invalid /foo /bar &> $TS_OUTPUT
 ts_finalize_subtest
 
+ts_init_subtest "user"
+$TS_CMD_MOUNT -t mytest -ouser,abc /foo /bar &> $TS_OUTPUT
+ts_finalize_subtest
+
+ts_init_subtest "username"
+$TS_CMD_MOUNT -t mytest -ouser=name,abc /foo /bar &> $TS_OUTPUT
+ts_finalize_subtest
+
 rm -f $MOUNTER
 
 ts_finalize