提交 9958f647 编写于 作者: L lingxin_2019

Signed-off-by: 贺婷婷 <596256905@qq.com>

上级 fa6b2d35
......@@ -454,7 +454,7 @@ VOID TestTaskEntry(VOID)
#if (TEST_MODULE_CHECK == 1)
for (int i = 0; i < g_modelNum - 1; i++) {
if (g_executModelNum[i] != 0) {
dprintf("\nExecuted Model: %s, Executed Model_Num: %d ,failed_count: %d , sucess_count :%d",
dprintf("\nExecuted Model: %s, Executed Model_Num: %d ,failed_count: %d , success_count :%d",
g_strModule[i], g_executModelNum[i], g_failModelResult[i], g_passModelResult[i]);
}
for (int j = 0; j < g_failResult && j < 50; j++) { // 50
......
......@@ -35,7 +35,7 @@ static int g_sigCount = 0;
static void SigPrint(int signum)
{
g_sigCount++;
printf("signal receive sucess\n");
printf("signal receive success\n");
}
static UINT32 TestCase(VOID)
......@@ -101,7 +101,7 @@ static UINT32 TestCase(VOID)
sleep(1);
ret = kill(pid, SIGUSR1);
ICUNIT_ASSERT_EQUAL(ret, 0, ret);
printf("kill sucess\n");
printf("kill success\n");
ret = waitpid(pid, &status, 0);
ICUNIT_ASSERT_EQUAL(ret, pid, ret);
ICUNIT_ASSERT_EQUAL(WEXITSTATUS(status), LOS_OK, WEXITSTATUS(status));
......
......@@ -35,7 +35,7 @@ static int g_sigCount = 0;
static void SigPrint(int sig)
{
g_sigCount++;
printf("signal receive sucess\n");
printf("signal receive success\n");
}
static UINT32 TestCase(VOID)
......@@ -68,7 +68,7 @@ static UINT32 TestCase(VOID)
sleep(1);
ret = kill(pid, SIGUSR1);
ICUNIT_ASSERT_EQUAL(ret, 0, ret);
printf("kill sucess\n");
printf("kill success\n");
wait(&ret);
ICUNIT_ASSERT_EQUAL(WEXITSTATUS(ret), LOS_OK, WEXITSTATUS(ret));
return LOS_OK;
......
......@@ -36,13 +36,13 @@ static int g_sigCount1 = 0;
static void SigPrint(int sig)
{
g_sigCount++;
printf("signal receive sucess\n");
printf("signal receive success\n");
}
static void SigPrint1(int sig)
{
g_sigCount1++;
printf("signal receive sucess\n");
printf("signal receive success\n");
}
static UINT32 TestCase(VOID)
......
......@@ -37,7 +37,7 @@ static void SigPrint(int sig)
{
(void)sig;
g_sigCount++;
printf("signal receive sucess\n");
printf("signal receive success\cn");
}
static UINT32 TestCase(VOID)
......
......@@ -34,9 +34,9 @@
static int g_sigCount = 0;
static void SigPrint(int sig)
{
(void)sig;
(void)sig;c
g_sigCount++;
printf("signal receive sucess\n");
printf("signal receive success\n");
}
static UINT32 TestCase(VOID)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册