aboutsummaryrefslogtreecommitdiffstats
path: root/app/test/test_cmdline.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_cmdline.c')
-rw-r--r--app/test/test_cmdline.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_cmdline.c b/app/test/test_cmdline.c
index 2b5840fb..38c7256f 100644
--- a/app/test/test_cmdline.c
+++ b/app/test/test_cmdline.c
@@ -89,8 +89,4 @@ test_cmdline(void)
return 0;
}
-static struct test_command cmdline_cmd = {
- .command = "cmdline_autotest",
- .callback = test_cmdline,
-};
-REGISTER_TEST_COMMAND(cmdline_cmd);
+REGISTER_TEST_COMMAND(cmdline_autotest, test_cmdline);