From 9958f647f502993fb07168047d2097c570b37cd0 Mon Sep 17 00:00:00 2001 From: lingxin_2019 <596256905@qq.com> Date: Thu, 26 May 2022 12:24:46 +0800 Subject: [PATCH] =?UTF-8?q?=20Signed-off-by:=20=E8=B4=BA=E5=A9=B7=E5=A9=B7?= =?UTF-8?q?=20<596256905@qq.com>?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- testsuites/kernel/src/osTest.c | 2 +- testsuites/unittest/extended/signal/full/signal_test_029.cpp | 4 ++-- testsuites/unittest/extended/signal/full/signal_test_030.cpp | 4 ++-- testsuites/unittest/extended/signal/full/signal_test_033.cpp | 4 ++-- testsuites/unittest/extended/signal/full/signal_test_040.cpp | 2 +- testsuites/unittest/extended/signal/smoke/signal_test_032.cpp | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/testsuites/kernel/src/osTest.c b/testsuites/kernel/src/osTest.c index 38437458..9605f3f7 100644 --- a/testsuites/kernel/src/osTest.c +++ b/testsuites/kernel/src/osTest.c @@ -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 diff --git a/testsuites/unittest/extended/signal/full/signal_test_029.cpp b/testsuites/unittest/extended/signal/full/signal_test_029.cpp index 22379f75..45d7f525 100644 --- a/testsuites/unittest/extended/signal/full/signal_test_029.cpp +++ b/testsuites/unittest/extended/signal/full/signal_test_029.cpp @@ -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)); diff --git a/testsuites/unittest/extended/signal/full/signal_test_030.cpp b/testsuites/unittest/extended/signal/full/signal_test_030.cpp index 05fe5691..563f1273 100644 --- a/testsuites/unittest/extended/signal/full/signal_test_030.cpp +++ b/testsuites/unittest/extended/signal/full/signal_test_030.cpp @@ -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; diff --git a/testsuites/unittest/extended/signal/full/signal_test_033.cpp b/testsuites/unittest/extended/signal/full/signal_test_033.cpp index dc290704..11d725d4 100644 --- a/testsuites/unittest/extended/signal/full/signal_test_033.cpp +++ b/testsuites/unittest/extended/signal/full/signal_test_033.cpp @@ -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) diff --git a/testsuites/unittest/extended/signal/full/signal_test_040.cpp b/testsuites/unittest/extended/signal/full/signal_test_040.cpp index 3750d403..76654c6a 100644 --- a/testsuites/unittest/extended/signal/full/signal_test_040.cpp +++ b/testsuites/unittest/extended/signal/full/signal_test_040.cpp @@ -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) diff --git a/testsuites/unittest/extended/signal/smoke/signal_test_032.cpp b/testsuites/unittest/extended/signal/smoke/signal_test_032.cpp index d43add02..2b4a407e 100644 --- a/testsuites/unittest/extended/signal/smoke/signal_test_032.cpp +++ b/testsuites/unittest/extended/signal/smoke/signal_test_032.cpp @@ -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) -- GitLab