init: fix ut

Signed-off-by: xionglei6 <xionglei6@huawei.com>
This commit is contained in:
xionglei6 2022-04-18 21:44:45 +08:00
parent 6b3530bccc
commit e2892325ac

View File

@ -733,6 +733,8 @@ static void CheckCmd(const TestCmdLine *resCmd)
EXPECT_NE(' ', resCmd->cmdContent[0]); // should not start with space
} else if (strcmp("loadcfg ", resCmd->name) == 0) {
EXPECT_NE(' ', resCmd->cmdContent[0]); // should not start with space
} else if (strcmp("export ", resCmd->name) == 0) {
EXPECT_NE(' ', resCmd->cmdContent[0]); // should not start with space
} else { // unknown cmd
EXPECT_TRUE(false);
}