Revert "HACK talloc bench"
authorStefan Metzmacher <metze@samba.org>
Fri, 8 Apr 2011 07:23:42 +0000 (09:23 +0200)
committerStefan Metzmacher <metze@samba.org>
Sat, 9 Apr 2011 09:36:09 +0000 (11:36 +0200)
This reverts commit 9744ad3e1cfafa4b1d27171a7b7f882df5a971d9.

lib/talloc/testsuite.c

index 26d2fd0709b7d4f3153875e294d29250f9195817..b6740a11c36dc5ec29762aff19cfe7801472b672 100644 (file)
@@ -1262,7 +1262,7 @@ bool torture_local_talloc(struct torture_context *tctx)
        bool ret = true;
 
        setlinebuf(stdout);
-#if 0
+
        test_reset();
        ret &= test_ref1();
        test_reset();
@@ -1312,13 +1312,7 @@ bool torture_local_talloc(struct torture_context *tctx)
        }
        test_reset();
        ret &= test_autofree();
-#endif
-{int y=0;
-       for (y=0; y < 10; y++) {
-               test_reset();
-               ret &= test_speed();
-       }
-}
+
        test_reset();
        talloc_disable_null_tracking();
        return ret;