mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Fix tst-strcoll-overflow returning before timeout (BZ #17506)
Modifies the test examination in test-skeleton.c so that a test can be successful if it is interrupted or it returns uninterrupted with the expected status. For this both EXPECTED_SIGNAL and EXPECTED_STATUS have to be set, as is done in tst-strcoll-overflow.c.
This commit is contained in:
committed by
Siddhesh Poyarekar
parent
fb89b46d1d
commit
fffa1cf8a7
@ -57,5 +57,6 @@ do_test (void)
|
||||
|
||||
#define TIMEOUT 300
|
||||
#define EXPECTED_SIGNAL SIGALRM
|
||||
#define EXPECTED_STATUS 0
|
||||
#define TEST_FUNCTION do_test ()
|
||||
#include "../test-skeleton.c"
|
||||
|
Reference in New Issue
Block a user