nuttx-apps/testing/ltp/0008-test-ltp-fix-ltp_interfaces_sigaction_23_10-deadloop.patch
guoshichao c57794fe1f ltp/makefile: apply that patch that to fix the build warning in ltp
the origin ltp testcases has many build warnings which consider error in
Nuttx, thus to apply the patches to fix these build warnings

Signed-off-by: guoshichao <guoshichao@xiaomi.com>
2023-09-03 22:12:57 +08:00

31 lines
954 B
Diff

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