From patchwork Sat Dec 10 15:23:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Schwab X-Patchwork-Id: 18340 Received: (qmail 53332 invoked by alias); 10 Dec 2016 15:23:47 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 53323 invoked by uid 89); 10 Dec 2016 15:23:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL, BAYES_40, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=1756, sk:schwab@, schwab@linux-m68k.org, schwablinuxm68korg X-HELO: mail-out.m-online.net X-Auth-Info: N3DRvG1HwBduUdQp9vt88rvOu4ukNIwKREyJ/YeVGNQVI3nb68u5CtmJdOSV79lh From: Andreas Schwab To: Florian Weimer Cc: "Carlos O'Donell" , GNU C Library Subject: [PATCH] Fix testsuite timeout handling References: <425c6518-69f7-e68d-9599-d81c8c137c96@redhat.com> <14a1be0f-2b7b-56ce-ec18-dabc55c7f0d9@redhat.com> <87d1hfp5z4.fsf@linux-m68k.org> <1a112b98-f3e2-c3eb-e4e6-e0298f04aa59@redhat.com> <3a26a56b-46f3-0c45-cb01-80867d2fa610@redhat.com> X-Yow: Just imagine you're entering a state-of-the-art CAR WASH!! Date: Sat, 10 Dec 2016 16:23:32 +0100 In-Reply-To: (Florian Weimer's message of "Mon, 5 Dec 2016 16:57:23 +0100") Message-ID: <87twabhkp7.fsf_-_@linux-m68k.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.90 (gnu/linux) MIME-Version: 1.0 * support/support_test_main.c (support_test_main): Use correct timeout. diff --git a/support/support_test_main.c b/support/support_test_main.c index 72771bf101..e185281eaf 100644 --- a/support/support_test_main.c +++ b/support/support_test_main.c @@ -338,7 +338,7 @@ support_test_main (int argc, char **argv, const struct test_config *config) /* Set timeout. */ signal (SIGALRM, signal_handler); - alarm (config->timeout * timeoutfactor); + alarm (timeout * timeoutfactor); /* Make sure we clean up if the wrapper gets interrupted. */ signal (SIGINT, signal_handler);