diff options
Diffstat (limited to 'lwip/test/telnetd01/init.c')
-rw-r--r-- | lwip/test/telnetd01/init.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/lwip/test/telnetd01/init.c b/lwip/test/telnetd01/init.c index e9c312a..bd27c89 100644 --- a/lwip/test/telnetd01/init.c +++ b/lwip/test/telnetd01/init.c @@ -21,7 +21,6 @@ #include <string.h> #include <rtems.h> -//#include <rtems/rtems_bsdnet.h> #include <rtems/telnetd.h> #include <lwip/init.h> #include <lwip/sockets.h> @@ -85,20 +84,13 @@ static void test_already_started(void) rtems_status_code sc; sc = rtems_telnetd_start(&config); - rtems_test_assert(sc == RTEMS_RESOURCE_IN_USE); + rtems_test_assert(sc != RTEMS_SUCCESSFUL); } static rtems_task Init(rtems_task_argument argument) { TEST_BEGIN(); - //rv = rtems_bsdnet_initialize_network(); - /* - LWIP_IF lwipIfPort1; - - lwipIfPort1.ipMode = IPADDR_USE_DHCP; - LwipInit(&lwipIfPort1); - */ lwip_init(); test_command_null(); @@ -122,6 +114,7 @@ static rtems_task Init(rtems_task_argument argument) #define CONFIGURE_MAXIMUM_TASKS 8 #define CONFIGURE_MAXIMUM_POSIX_KEYS 1 +#define CONFIGURE_MAXIMUM_SEMAPHORE 4 #define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION |