X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-allocsa.c;h=9d4144881aa5eee34517cd9f6cd8b4da727abb55;hb=373c44dc1d48bf58b7b46ce04bc87d437d20eb5e;hp=6fa1efa0406764810f94451581623de06ae30284;hpb=ff5ee4219fb779fa7565c8fd4f454449e97bc8ad;p=gnulib.git diff --git a/tests/test-allocsa.c b/tests/test-allocsa.c index 6fa1efa04..9d4144881 100644 --- a/tests/test-allocsa.c +++ b/tests/test-allocsa.c @@ -1,5 +1,5 @@ /* Test of safe automatic memory allocation. - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2007 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 @@ -25,8 +25,6 @@ #include -#define ASSERT(expr) if (!(expr)) abort (); - static void do_allocation (int n) { @@ -43,7 +41,7 @@ main () int i; /* Repeat a lot of times, to make sure there's no memory leak. */ - for (i = 0; i < 100000; i++) + for (i = 0; i < 50000; i++) { /* Try various values. n = 0 gave a crash on Alpha with gcc-2.5.8.