Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t/helper: add a test helper to compute hash speed
[gitweb.git]
/
t
/
helper
/
test-online-cpus.c
diff --git
a/t/helper/test-online-cpus.c
b/t/helper/test-online-cpus.c
index 06c09c6b886f843b2d3c6fdb8e00730afc7fe40b..8cb0d53840f3dc60d583fa1b72f95572d2148d11 100644
(file)
--- a/
t/helper/test-online-cpus.c
+++ b/
t/helper/test-online-cpus.c
@@
-1,7
+1,8
@@
+#include "test-tool.h"
#include "git-compat-util.h"
#include "thread-utils.h"
-int cmd_
main
(int argc, const char **argv)
+int cmd_
_online_cpus
(int argc, const char **argv)
{
printf("%d\n", online_cpus());
return 0;