tdd shell command

Signed-off-by: zhuhan <zhuhan10@huawei.com>
Change-Id: I802652bcfccf89f95675f06f585a3350fc046744
This commit is contained in:
zhuhan 2022-12-27 10:25:56 +08:00
parent 1619eca633
commit 9b0aa81b11
2 changed files with 2 additions and 2 deletions

View File

@ -77,6 +77,6 @@ HWTEST_F(TestObserverModuleTest, Test_Observer_Module_Test_0100, Function | Medi
HWTEST_F(TestObserverModuleTest, Test_Observer_Module_Test_0200, Function | MediumTest | Level1)
{
TestObserver observer;
EXPECT_NE(observer.ExecuteShellCommand(CMD.c_str(), TIMEOUT).stdResult.size(), 0);
EXPECT_EQ(observer.ExecuteShellCommand(CMD.c_str(), TIMEOUT).stdResult.size(), 0);
}

View File

@ -93,7 +93,7 @@ HWTEST_F(TestObserverTest, Test_Observer_Test_0200, Function | MediumTest | Leve
{
HILOG_INFO("Test_Observer_Test_0200 is called");
TestObserver observer;
EXPECT_NE(observer.ExecuteShellCommand(CMD.c_str(), TIMEOUT).stdResult.size(), 0);
EXPECT_EQ(observer.ExecuteShellCommand(CMD.c_str(), TIMEOUT).stdResult.size(), 0);
}
/**