From 5379d53c066c189a9ccfb51b19db931f5d8e7649 Mon Sep 17 00:00:00 2001 From: gao_harmony Date: Mon, 7 Jun 2021 11:27:22 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=86=85=E6=A0=B8=E5=AD=90=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E9=9B=86=E6=88=90=E6=B5=8B=E8=AF=95=E3=80=91=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=8D=E7=A8=B3=E5=AE=9A=E7=9A=84=E7=94=A8=E4=BE=8B?= =?UTF-8?q?=EF=BC=9Atime=5Fposix=20=E6=A8=A1=E5=9D=97AlarmTest.cpp?= =?UTF-8?q?=E7=94=A8=E4=BE=8BAlarmTest.testTimerCreateFork=20=E5=AE=9A?= =?UTF-8?q?=E6=97=B6=E5=99=A8=E8=B5=84=E6=BA=90=E8=80=97=E5=B0=BD=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gao_harmony Change-Id: I7ee647cbcaa851536cf1849968e84902b4aee087 --- kernel_lite/time_posix/src/AlarmTest.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel_lite/time_posix/src/AlarmTest.cpp b/kernel_lite/time_posix/src/AlarmTest.cpp index acc82b82f..df21b3f99 100755 --- a/kernel_lite/time_posix/src/AlarmTest.cpp +++ b/kernel_lite/time_posix/src/AlarmTest.cpp @@ -360,6 +360,7 @@ HWTEST_F(AlarmTest, testTimerCreateFork, Function | MediumTest | Level2) Msleep(setMillisec + ACCURACY_ERROR); EXPECT_EQ(mReceivedSignal, SIGALRM); WaitProcExitedOK(pid); + EXPECT_EQ(timer_delete(tid), 0) << "ERROR: timer_delete() != 0"; } } -- GitLab