nuttx-apps/testing/ltp/0008-test-ltp-fix-ltp_interfaces_sigaction_23_10-deadloop.patch

31 lines
954 B
Diff
Raw Normal View History

From 77955874b3c97f1db2bc261ce3ddb76873cdaab7 Mon Sep 17 00:00:00 2001
From: guohao15 <guohao15@xiaomi.com>
Date: Mon, 8 May 2023 20:19:37 +0800
Subject: [PATCH 15/21] test:ltp fix ltp_interfaces_sigaction_23_10 deadloop at
second run
VELAPLATFO-7303
Signed-off-by: guohao15 <guohao15@xiaomi.com>
Change-Id: Ib441191da3e3380ed5e54b2914ffec8d3307b173
---
.../conformance/interfaces/sigaction/23-10.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-10.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-10.c
index 9274e1154..8a0039f14 100644
--- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-10.c
+++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/23-10.c
@@ -123,6 +123,8 @@ int main(void)
struct sigaction sa;
+ called = 0;
+
/* Initialize output */
output_init();
--
2.40.1