X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=test%2Fapi%2Ftestlib.c;h=2a7f4e7142819287fe006d3bb9739ff331d29f9a;hb=4478d785b7769691261005c98063b98a5a5971b3;hp=4edb448ce0bb01b24447abe42342b11af184a0cb;hpb=b61682c79e8311e1ec73d22872a56ff934c9b249;p=idzebra-moved-to-github.git diff --git a/test/api/testlib.c b/test/api/testlib.c index 4edb448..2a7f4e7 100644 --- a/test/api/testlib.c +++ b/test/api/testlib.c @@ -1,5 +1,5 @@ -/* $Id: testlib.c,v 1.33 2006-06-28 09:38:17 adam Exp $ - Copyright (C) 1995-2005 +/* $Id: testlib.c,v 1.35 2006-08-14 10:40:22 adam Exp $ + Copyright (C) 1995-2006 Index Data ApS This file is part of the Zebra server. @@ -15,9 +15,9 @@ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with Zebra; see the file LICENSE.zebra. If not, write to the -Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ /** testlib - utilities for the api tests */ @@ -76,8 +76,8 @@ ZebraService tl_start_up(char *cfgname, int argc, char **argv) #if HAVE_SYS_RESOURCE_H #if HAVE_SYS_TIME_H struct rlimit rlim; - rlim.rlim_cur = 20; - rlim.rlim_max = 20; + rlim.rlim_cur = 60; + rlim.rlim_max = 60; setrlimit(RLIMIT_CPU, &rlim); #endif #endif