summaryrefslogtreecommitdiff
path: root/tests/unistr/test-u8-strstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unistr/test-u8-strstr.c')
-rw-r--r--tests/unistr/test-u8-strstr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/unistr/test-u8-strstr.c b/tests/unistr/test-u8-strstr.c
index 791e1c97..12da0fb5 100644
--- a/tests/unistr/test-u8-strstr.c
+++ b/tests/unistr/test-u8-strstr.c
@@ -41,11 +41,12 @@ main (void)
case, we're assuming that we're running this test on the
same system that we did the check to ensure it has linear
performance characteristics. */
+ int alarm_value = 50;
signal (SIGALRM, SIG_DFL);
- alarm (5);
+ alarm (alarm_value);
#endif
test_u_strstr ();
- return 0;
+ return test_exit_status;
}