summaryrefslogtreecommitdiff
path: root/tests/unistr/test-u32-strstr.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-10-20 15:22:21 +0200
committerJörg Frings-Fürst <debian@jff.email>2024-10-20 15:22:21 +0200
commit1d8b9e17ea13630aec475484da09ebba0366f7c8 (patch)
tree0c801f68561bfb0930a4ade80d7ca3a7940887ab /tests/unistr/test-u32-strstr.c
parent84e26c587987e8484d55db4165f188b40c09e94b (diff)
parent630f99f29bd31a76d8d24da2975a045452c763ef (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'tests/unistr/test-u32-strstr.c')
-rw-r--r--tests/unistr/test-u32-strstr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/unistr/test-u32-strstr.c b/tests/unistr/test-u32-strstr.c
index 21caa784..672c9cce 100644
--- a/tests/unistr/test-u32-strstr.c
+++ b/tests/unistr/test-u32-strstr.c
@@ -38,11 +38,12 @@ main (void)
#if HAVE_DECL_ALARM
/* Declare failure if test takes too long, by using default abort
caused by SIGALRM. */
+ int alarm_value = 50;
signal (SIGALRM, SIG_DFL);
- alarm (10);
+ alarm (alarm_value);
#endif
test_u_strstr ();
- return 0;
+ return test_exit_status;
}