/* This testcase is part of GDB, the GNU debugger.
- Copyright 2013 Free Software Foundation, Inc.
+ Copyright 2013-2017 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
int
main (void)
{
- alarm (60);
+ /* Allow for as much timeout as DejaGnu wants, plus a bit of
+ slack. */
+ unsigned int seconds = TIMEOUT + 20;
+
+ alarm (seconds);
for (;;); /* loop-line */
}