From fffa1cf8a7f95830d488d5fc6bf73cb9599143f4 Mon Sep 17 00:00:00 2001 From: Leonhard Holz Date: Wed, 12 Nov 2014 17:10:21 +0530 Subject: 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. --- string/tst-strcoll-overflow.c | 1 + 1 file changed, 1 insertion(+) (limited to 'string') diff --git a/string/tst-strcoll-overflow.c b/string/tst-strcoll-overflow.c index e7a43ea844..0d764afff6 100644 --- a/string/tst-strcoll-overflow.c +++ b/string/tst-strcoll-overflow.c @@ -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" -- cgit v1.2.3