git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d655997
)
Revert "HACK talloc bench"
author
Stefan Metzmacher
<metze@samba.org>
Fri, 8 Apr 2011 07:23:42 +0000
(09:23 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Sat, 9 Apr 2011 09:36:09 +0000
(11:36 +0200)
This reverts commit
9744ad3e1cfafa4b1d27171a7b7f882df5a971d9
.
lib/talloc/testsuite.c
patch
|
blob
|
history
diff --git
a/lib/talloc/testsuite.c
b/lib/talloc/testsuite.c
index 26d2fd0709b7d4f3153875e294d29250f9195817..b6740a11c36dc5ec29762aff19cfe7801472b672 100644
(file)
--- a/
lib/talloc/testsuite.c
+++ b/
lib/talloc/testsuite.c
@@
-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;