|
@@ -50,8 +50,8 @@ static bool successTemp;
|
|
shellmatta_addCmd(handle, &privateCmd);
|
|
shellmatta_addCmd(handle, &privateCmd);
|
|
|
|
|
|
#define TEST_SHELLMATTA_AUTH_SETUP shellmatta_auth_user_t userList[] = { \
|
|
#define TEST_SHELLMATTA_AUTH_SETUP shellmatta_auth_user_t userList[] = { \
|
|
- {1, "shimatta", "12345678"}, \
|
|
|
|
- {2, "not_shimatta", "87654321"} \
|
|
|
|
|
|
+ {1, false, "shimatta", "12345678"}, \
|
|
|
|
+ {2, false, "not_shimatta", "87654321"} \
|
|
}; \
|
|
}; \
|
|
\
|
|
\
|
|
uint32_t privateCmdPerms[] = {1}; \
|
|
uint32_t privateCmdPerms[] = {1}; \
|
|
@@ -501,8 +501,8 @@ SCENARIO("Check custom login") {
|
|
TEST_SHELLMATTA_SETUP;
|
|
TEST_SHELLMATTA_SETUP;
|
|
|
|
|
|
shellmatta_auth_user_t userList[] = {
|
|
shellmatta_auth_user_t userList[] = {
|
|
- {1, "shimatta", "12345678"},
|
|
|
|
- {2, "not_shimatta", "87654321"}
|
|
|
|
|
|
+ {1, false, "shimatta", "12345678"},
|
|
|
|
+ {2, false, "not_shimatta", "87654321"}
|
|
};
|
|
};
|
|
|
|
|
|
uint32_t privateCmdPerms[] = {1};
|
|
uint32_t privateCmdPerms[] = {1};
|
|
@@ -551,8 +551,8 @@ SCENARIO("Check custom login with custom login function") {
|
|
TEST_SHELLMATTA_SETUP;
|
|
TEST_SHELLMATTA_SETUP;
|
|
|
|
|
|
shellmatta_auth_user_t userList[] = {
|
|
shellmatta_auth_user_t userList[] = {
|
|
- {1, "shimatta", "12345678"},
|
|
|
|
- {2, "not_shimatta", "87654321"}
|
|
|
|
|
|
+ {1, false, "shimatta", "12345678"},
|
|
|
|
+ {2, false, "not_shimatta", "87654321"}
|
|
};
|
|
};
|
|
|
|
|
|
uint32_t privateCmdPerms[] = {1};
|
|
uint32_t privateCmdPerms[] = {1};
|