1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/shell: add command with empty output

This commit is contained in:
Martine Lenders 2021-02-09 15:03:19 +01:00
parent 271d1ae3a2
commit bd96e4b400
No known key found for this signature in database
GPG Key ID: CCD317364F63286F

View File

@ -87,11 +87,19 @@ static int print_shell_bufsize(int argc, char **argv)
return 0;
}
static int print_empty(int argc, char **argv)
{
(void) argc;
(void) argv;
return 0;
}
static const shell_command_t shell_commands[] = {
{ "bufsize", "Get the shell's buffer size", print_shell_bufsize },
{ "start_test", "starts a test", print_teststart },
{ "end_test", "ends a test", print_testend },
{ "echo", "prints the input command", print_echo },
{ "empty", "print nothing on command", print_empty },
{ NULL, NULL, NULL }
};