summaryrefslogtreecommitdiffstats
path: root/app/test/test_thash.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_thash.c')
-rw-r--r--app/test/test_thash.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_thash.c b/app/test/test_thash.c
index 8e9dca05..61754a94 100644
--- a/app/test/test_thash.c
+++ b/app/test/test_thash.c
@@ -169,8 +169,4 @@ test_thash(void)
return 0;
}
-static struct test_command thash_cmd = {
- .command = "thash_autotest",
- .callback = test_thash,
-};
-REGISTER_TEST_COMMAND(thash_cmd);
+REGISTER_TEST_COMMAND(thash_autotest, test_thash);