1
0
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:
Leonhard Holz
2014-11-12 17:10:21 +05:30
committed by Siddhesh Poyarekar
parent fb89b46d1d
commit fffa1cf8a7
4 changed files with 47 additions and 31 deletions

View File

@ -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"