dhcpcd01/dhcpcd02: Mark as interactive

This commit is contained in:
Sebastian Huber 2022-05-13 08:46:39 +02:00
parent 584dd8d940
commit 62714de68d
2 changed files with 5 additions and 5 deletions

View File

@ -44,6 +44,7 @@
#include <rtems/dhcpcd.h> #include <rtems/dhcpcd.h>
#define TEST_NAME "LIBBSD DHCPCD 1" #define TEST_NAME "LIBBSD DHCPCD 1"
#define TEST_STATE_USER_INPUT 1
static void static void
dhcpcd_hook_handler(rtems_dhcpcd_hook *hook, char *const *env) dhcpcd_hook_handler(rtems_dhcpcd_hook *hook, char *const *env)
@ -67,9 +68,7 @@ test_main(void)
{ {
rtems_dhcpcd_add_hook(&dhcpcd_hook); rtems_dhcpcd_add_hook(&dhcpcd_hook);
rtems_task_exit();
rtems_task_delete(RTEMS_SELF);
assert(0);
} }
#define DEFAULT_NETWORK_DHCPCD_ENABLE #define DEFAULT_NETWORK_DHCPCD_ENABLE

View File

@ -40,12 +40,13 @@
#include <rtems.h> #include <rtems.h>
#define TEST_NAME "LIBBSD DHCPCD 2" #define TEST_NAME "LIBBSD DHCPCD 2"
#define TEST_STATE_USER_INPUT 1
static void static void
test_main(void) test_main(void)
{ {
rtems_task_delete(RTEMS_SELF);
assert(0); rtems_task_exit();
} }
#define DEFAULT_NETWORK_DHCPCD_ENABLE #define DEFAULT_NETWORK_DHCPCD_ENABLE