We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a397d1 commit 7707214Copy full SHA for 7707214
src/common/tests/CommonUtilsUT.cpp
@@ -1420,14 +1420,18 @@ char* CheckForMountCreds(char* options);
1420
TEST_F(CommonUtilsTest, CheckForMountCreds)
1421
{
1422
const char* badOptions[] = {
1423
+ "Test domain",
1424
+ "password test",
1425
+ "domain/username",
1426
+ "username@domain",
1427
"Test options domain=foo userame:test",
1428
"domain=foo userame:test,password",
1429
"nosuid,password=test,test",
1430
"nosuid,domain=test,test",
- "nosuid,domain=test,test",
- "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"
1435
};
1436
size_t numBadOptions = ARRAY_SIZE(badOptions);
1437
char* test = NULL;
0 commit comments