From 96dfbdab7ccf3f32933c4f75d81a7e8aa2e21ee2 Mon Sep 17 00:00:00 2001 From: nsz Date: Apr 12 2012 13:08:37 +0000 Subject: remove core limit setting --- diff --git a/common/b.c b/common/b.c index 6c9fb19..ac0159c 100644 --- a/common/b.c +++ b/common/b.c @@ -145,7 +145,7 @@ static void run(const char *name, void (*f)(int)) { } static void usage() { - fprintf(stderr, "usage: ./t [-vq] [pat]\n"); + fprintf(stderr, "usage: ./b [-vq] [pat]\n"); exit(1); } diff --git a/common/t.c b/common/t.c index 3d39efc..3e9c95e 100644 --- a/common/t.c +++ b/common/t.c @@ -63,7 +63,6 @@ static void run(const char *n, void (*f)()) { pid = fork(); if (pid == 0) { /* run test in a child process */ - setrl(RLIMIT_CORE, 1<<24); setrl(RLIMIT_STACK, 1<<16); setrl(RLIMIT_CPU, 2); f();