git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
app/test: rework command registration
[dpdk.git]
/
app
/
test
/
test_hash.c
diff --git
a/app/test/test_hash.c
b/app/test/test_hash.c
index
29abcd9
..
94300e1
100644
(file)
--- a/
app/test/test_hash.c
+++ b/
app/test/test_hash.c
@@
-1514,8
+1514,4
@@
test_hash(void)
return 0;
}
-static struct test_command hash_cmd = {
- .command = "hash_autotest",
- .callback = test_hash,
-};
-REGISTER_TEST_COMMAND(hash_cmd);
+REGISTER_TEST_COMMAND(hash_autotest, test_hash);