mirror of
https://gitee.com/openharmony/startup_init
synced 2024-12-13 22:21:05 +00:00
init: fix ut
Signed-off-by: xionglei6 <xionglei6@huawei.com>
This commit is contained in:
parent
6b3530bccc
commit
e2892325ac
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user