From c3895cab83463e0a05599b46d79580790bf7d8ee Mon Sep 17 00:00:00 2001 From: guohao15 Date: Mon, 8 May 2023 20:19:37 +0800 Subject: [PATCH] test:ltp fix ltp_interfaces_sigaction_23_10 deadloop at second run Signed-off-by: guohao15 --- .../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 ae3c43738de..c01312254bf 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();