diff options
Diffstat (limited to 'harness/cases/7.t')
-rw-r--r-- | harness/cases/7.t | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/harness/cases/7.t b/harness/cases/7.t index d2d6cbc..f877d8a 100644 --- a/harness/cases/7.t +++ b/harness/cases/7.t @@ -9,12 +9,15 @@ */ #include <sys/resource.h> +#include <signal.h> void SET_RLIMIT(long long limit) { struct rlimit rlim; int res; + /* Seems that we do send SIGXFSZ, but hard to fix... */ + signal(SIGXFSZ, SIG_IGN); rlim.rlim_cur = limit; assert(rlim.rlim_cur == limit); rlim.rlim_max = limit; assert(rlim.rlim_max == limit); |