From: Kees Jongenburger Date: Fri, 7 Dec 2012 09:54:34 +0000 (+0100) Subject: Make test3 fail on the first error. X-Git-Tag: v3.2.1~157 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=f44fb1784bb539f57348fb904feff2b064b0facb;p=minix.git Make test3 fail on the first error. test3 performs tests for null pointers but after that still continues and uses them. This results in segfault's. Fixing this issue by failing on the first error. --- diff --git a/test/test3.c b/test/test3.c index 311de9c45..84c83ec44 100644 --- a/test/test3.c +++ b/test/test3.c @@ -12,7 +12,7 @@ #include #define ITERATIONS 10 -#define MAX_ERROR 3 +#define MAX_ERROR 0 #define SIZE 64 int subtest;