test-malloca: unset MALLOC_PERTURB_ to speed up test
[gnulib.git] / tests / test-malloca.c
index 0dce83a..92c86f2 100644 (file)
@@ -37,6 +37,9 @@ main ()
 {
   int i;
 
+  /* This slows down malloc a lot.  */
+  unsetenv ("MALLOC_PERTURB_");
+
   /* Repeat a lot of times, to make sure there's no memory leak.  */
   for (i = 0; i < 50000; i++)
     {