Skip to content

Commit 7707214

Browse files
committed
Work in progress
1 parent 8a397d1 commit 7707214

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/common/tests/CommonUtilsUT.cpp

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,14 +1420,18 @@ char* CheckForMountCreds(char* options);
14201420
TEST_F(CommonUtilsTest, CheckForMountCreds)
14211421
{
14221422
const char* badOptions[] = {
1423+
"Test domain",
1424+
"password test",
1425+
"domain/username",
1426+
"username@domain",
14231427
"Test options domain=foo userame:test",
14241428
"domain=foo userame:test,password",
14251429
"nosuid,password=test,test",
14261430
"nosuid,domain=test,test",
1427-
"nosuid,domain=test,test",
1428-
"nosuid,domain=test,test",
1429-
"nosuid,domain=test,test",
1430-
"nosuid,username=test,test"
1431+
"nosuid,domain=test,password=test,test",
1432+
"nosuid,username=test,domain=test,test",
1433+
"nosuid,domain=test,username=test,test,password=test",
1434+
"nosuid,username=test,23=test"
14311435
};
14321436
size_t numBadOptions = ARRAY_SIZE(badOptions);
14331437
char* test = NULL;

0 commit comments

Comments
 (0)