mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-06 15:32:59 +08:00
ftpd01: Start shell only once
This commit is contained in:
parent
15f19afcb4
commit
4236e3d855
@ -67,22 +67,13 @@ struct rtems_ftpd_configuration rtems_ftpd_configuration = {
|
||||
static void
|
||||
test_main(void)
|
||||
{
|
||||
rtems_status_code sc;
|
||||
int rv;
|
||||
|
||||
rv = rtems_initialize_ftpd();
|
||||
assert(rv == 0);
|
||||
|
||||
sc = rtems_shell_init(
|
||||
"SHLL",
|
||||
32 * 1024,
|
||||
1,
|
||||
CONSOLE_DEVICE_NAME,
|
||||
false,
|
||||
true,
|
||||
NULL
|
||||
);
|
||||
assert(sc == RTEMS_SUCCESSFUL);
|
||||
rtems_task_delete(RTEMS_SELF);
|
||||
assert(0);
|
||||
}
|
||||
|
||||
#define DEFAULT_NETWORK_DHCPCD_ENABLE
|
||||
|
Loading…
x
Reference in New Issue
Block a user